“Whenever I run the ‘SDK Manager.exe’ I can see the command prompt window appear for a second but then it vanishes.”

You need to add another environment variable.

Right click My Computer > Properties > Advanced system settings > Environment Variables.

Then under the System Variables dialogue click New… As you can see from the image below, set the Variable name to JAVA_HOME and then for the Variable value put the location of where your Java install is:

In my case C:|Program Files\Java\jdk1.7.9_15


Make sure your java\bin directory is in your path statement before the windows\system32 directory. The SDK Manager uses java and it was finding the one in the system32 folder.

In a CMD window, you can run ‘where java‘. Don’t forget to restart your CMD after changing the path variable for checking.

Now when you run SDK Manager.exe (you need to wait a few seconds) you should see:


Ref: http://stackoverflow.com/questions/7663996/sdk-manager-wont-start-windows-7-64-bit

Also thanks go to Kevin’s post at http://stackoverflow.com/questions/5199811/android-sdk-manager-wont-open for his information.