Sdk Manager won't launch in Android Studio

巧了我就是萌 提交于 2019-11-30 00:29:28

问题


If I choose Tools > Android > SDK Manager from the menu, or click the SDK Manager icon on the tool bar, nothing happens. What can I do to correct the problem?


回答1:


I had the same problem. When checking the {SDK}/tools/android it said it couldn't create a file, and I noticed it was in a location that needed admin approval.

When launching android studio, launch it as administrator then try it. Fixed it for me.




回答2:


Did you check {SDK}/tools/android launch?




回答3:


In my case, after a failed update 0.3 -> 0.59, I had clean-installed (unzipped) the wrong version (update only, which started just fine, but without SDKs), I had to reinstall the bundle version to even have SDK manager.

http://developer.android.com/sdk/installing/studio.html#Updating




回答4:


My sdk manager was working, well, it seems to be working, but as soon as I started to download anything - showed me errors, something like "didnt create directory.." so solution was simple and easy - run as administrator. Or you can just change exe file to run as administrator in properties of this file ;)




回答5:


Your Path environment variable doesn't contain C:\Windows\System32. Please try adding it and your error will be resolved!




回答6:


Launch Android Studio as administrator and disable your anti-virus and try again. My comodo internet security was creating the trouble.




回答7:


For ubuntu users,change the permission of {SDK}/tools/android to read/write for all users



来源:https://stackoverflow.com/questions/16727109/sdk-manager-wont-launch-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!