Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just downloaded the Android SDK (primarily for the purpose of running SDK Manager to install the Google USB drivers to connect a device), but the SDK Manager fails to run. I get the following error:

enter image description here

I can confirm, however, that there is an android.bat in the tools folder, which is one folder above the SDK Manager executable.

Has anybody run into this before?

For reference I'm on Windows 7 64 bit and I downloaded the 64 bit ADT Bundle to try to run this.

share|improve this question

migrated from Nov 16 '12 at 23:28

This question came from our site for computer enthusiasts and power users.

up vote 2 down vote accepted

I got it: we need to copy those SDK Manager.exe and AVD Manager.exe to the SDK root folder, I needed to copy them to C:\android-sdk\, this is because, SDK Manager.exe and AVD Manager.exe are looking for tools.

share|improve this answer

It's because it's looking for a relative path from the .../sdk/tools/lib/ folder, as that is where you are running the exe from.

I have not run Windows in a while, so bear with me, but if you open a command line, navigate to the .../sdk folder, then run the SDK manager from there by typing

tools/lib/SDK Manager.exe

I suspect it will work.

For easier access, you can create a shortcut to the SDK manager on the desktop, open the properties of the shortcut and change the 'Start Directory' (?) to the base .../sdk folder. Let me know if this does not work.

share|improve this answer
You know, I like this answer a lot more than the anonymous user's answer, but Windows had other plans. (I'm also not well versed in Windows command-line usage, what there is of it.) When executed from the command line in the desired start path, the application doesn't even come up. Same with the shortcut trick. No message as to why, it just exits without error before presenting anything to the UI. But the other guy's solution, which I'm not comfortable with as a long-term fix, got it running for me. Since I only need it once to install some stuff, I have to go with it. Thanks! – David Nov 17 '12 at 12:13
Fair enough - like I said, I haven't used Windows in a while and I don't have one to try this with :) It should work, but there may be other reasons why it doesn't. – MattJenko Nov 17 '12 at 12:26

protected by Community Apr 17 '13 at 0:06

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.