Failed to run android sdk manager in Eclipse

11,718

I was able to restore the missing items in File | New... quite easily by performing the following steps:

  • Switch to the Java perspective, either via the perspective switcher toolbar at the top right of the main Eclipse window, or via the Window | Open Perspective menu item.

  • Reset the perspective by either right-clicking on the Java perspective icon in the perspective switcher toolbar, or by clicking Window | Reset Perspective...

As to why they weren't there in the first place, the most likely cause would be that the ADT contributes various things to the Java perspective, and these changes don't take effect until the perspective is reset after installing the ADT. As an Eclipse plug-in developer I learned it the hard way, that changes to perspectives don't get picked up unless you explicitly reset them.

Share:
11,718
Mr.Cosmic
Author by

Mr.Cosmic

Beginner java coder, advanced HTML and DOS coder. "HELLO WORLD!" :D

Updated on June 04, 2022

Comments

  • Mr.Cosmic
    Mr.Cosmic almost 2 years

    I'm trying to code an app for android and I ran into a problem with the sdk manager. When I try to run it in eclipse, it says "Failed to run android sdk manager. Check the Android Console View for Details." Then in the console it says:

    [2013-01-30 21:27:45 - SDK Manager] Missing %s file in Android SDK.

    [2013-01-30 21:27:45 - SDK Manager] android.bat

    I reinstalled eclipse, the sdk and tried everything any other posts about the same problem but nothing works.