How to Fix : Android SDK Manager failing to open in Android Development Tools Bundle

Sometimes you might encounter an issue with the Android Development Tools bundle where the Android SDK  manager fails to open or closes immediately after showing a command prompt like a window. Fortunately, it is really easy to solve.


Step 1 : Go to [sdk-folder]/tools folder (For me it was C:\adt-bundle-windows-x86_64-20130522\sdk\tools).

Step 2 : Open the file android.bat in notepad by right clicking on it and selecting Edit from the context menu.

Step 3 : Find the line in the file that says java_exe.

Notepad android.bat

Step 4: Now edit the “set java_exe=” line to

set java_exe="C:\Program Files\Java\jre7\bin\java.exe"

Here “C:\Program Files\Java\jre7\bin\java.exe” is the path where the java.exe file for the JRE is installed. You should check your Java executable location and change the line accordingly.

Now save the file and close it.  To test it out, in Eclipse go to Window > Android SDK Manager.
Android SDK Manager

Ta daa ..!

Also Read: How to free GBs of space on an iPhone without deleting photos, apps, and files using the Cleopatra trick