Tuesday 28 October 2014

Android SDK Manager failing to open in Android Development Tools Bundle

Thax for Ref :
http://techathlon.com/fix-android-sdk-manager-failing-open-android-development-tools-bundle/


Some times 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 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"
My Case It's was windows7 32 processer. I followed without double quotes.
eg : set java_exe=C:\Program Files\Java\jdk1.8.0_20\bin\java.exe
Try some times JRE if java path in that particular location
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

No comments:

Post a Comment