Can't open Android SDK Manager in Android Studio 1.0
I just downloaded it and I went through all the other answers.
Android Studio (AS) seems to load fine and I can run one of the template projects.
But I cannot open the SDK manager (which I want for Ionic). I click a button, I get loading messages, a progress bar that fills up and then nothing.
I tried to run it as Administrator and it doesn't matter.
Any ideas?
source to share
Ok I had this problem for hours but figured out how to fix it.
This issue is not related to Android Studio or gradle. Its just because of the updated sdk 24. No need to downgrade studio or whatever. Follow a simple procedure:
-
close android studio
-
Download http://goo.gl/v0UPm6
-
goto \ sdk
-
rename 'tools' to 'tools1' (if you need a backup)
-
extract this zip to \ sdk
-
it will make the tools folder in \ sdk
-
restart the studio and there will be no errors
I saw this solution here: https://plus.google.com/u/0/107852486976928213243
source to share
edit sdk \ tools \ lib \ find_java.bat https://android-review.googlesource.com/#/c/118632/1/find_java/find_java.bat
source to share
As HooKing suggested that you change the file find_java.bat
located in the folder sdk/tools/lib
.
This line
v
find /i "x86" > NUL && set arch_ext=32|| set arch_ext=64
^
It takes a space like this
v
find /i "x86" > NUL && set arch_ext=32 || set arch_ext=64
^
Or
make sure your android.bat
located in sdk/tools/
has this line correctly
set java_exe="%JAVA_HOME%\java.exe"
source to share
An error occurred in SDK Tools 24.0.0 that prevented the SDK Manager from working on some 32-bit Windows systems. When you launch Android Studio 1.0.1, you get a balloon saying Tools 24.0.1 is available; click on it and then you can install it directly from the IDE (which doesn't use the SDK Manager to install). The SDK manager should now work again. If not, you can download the SDK manager fix directly from http://tools.android.com/knownissues (see first release)
source to share
Make sure the command is ./android sdk
running from the tools directory in the sdk. If this fails, try fixing the error. Once this starts working, SDK Manager will also start working with Android Studio. In my case, I got the following error "swt.jar was not found in the ANDROID_SWT directory. I had the ANDROID_SWT path added to my house which was causing problems. As soon as I removed it, everything worked fine!"
source to share