Will SDK Manager support for windows-8. I installed the android sdk for Windows 8. But when I open the android sdk manager, a cmd-like screen just briefly flashes on for half a second then disappears. I have no idea what's going on and how to get this thing working.
I am facing same problem on Windows 8.1. I saw following solution on internet:
Open /sdk/tools/android.bat file. and change “set java_exe=” line to set java_exe="C:\\Program Files\\Java\\jre7\\bin\\java.exe"
Note:
But it didn't work in my case, try it on your side. One thing strange is that if we run "/sdk/tools/android.bat" directly it works, but it does not run through "SDK Manager.exe" file.
Any other person facing same problem and got any solution?
Will SDK Manager support for windows-8
Yes, it works perfectly in Windows 8 also.
Go to (sdk-folder)/tools folder (For me it is C:\\Users\\Ajay\\adt-bundle-windows-x86_64-20131030\\adt-bundle-windows-x86_64-20131030\\sdk\\tools)
Open the file android.bat in any text editor.
Go to the line where set java_exe
is located
Set the Path of java.exe
which is located in your JRE. For ex : set java_exe="C:\\Program Files\\Java\\jre7\\bin\\java.exe"
Save the file and try it again, now it should work !
Match your Machin's Java bit system with your android SDK bit system, ie install a JDK x86 if you got android SDK x86. And usually android SDK works fine with Java x86 versions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.