SDK Manager is greyed out

こ雲淡風輕ζ 提交于 2019-11-28 05:18:34

问题


Searched for other answers but didn't find an exact answer.

I just installed Android Studio and followed exactly the directions that are displayed here: https://developer.android.com/sdk/installing/index.html?pkg=studio

When I move on to the next page here: https://developer.android.com/sdk/installing/adding-packages.html it states that I should "In Eclipse or Android Studio, click SDK Manager in the toolbar". But the Icon "SDK Manager" is greyed out.

I am running ubuntu 64-bit 14.04

JDK runs fine.

Any help would be appreciated.


回答1:


As far as I know the current versions of Android Studio have been released without SDK included by default. You can download it here http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz, and install in a folder different from your AS installation since it's important now.
AS usually asks you for a path to SDK location if it cannot find it.
Hope this helps.




回答2:


I had the same issue. My setup is behind a proxy. So the studio init was failing. So i added disable.android.first.run=true this line in idea.properties in android-studio/bin It worked and studio was launched, but then i saw that SDK Manager is grayed out.

My Problem was fixed when i removed the disable.android.first.run=true line and started the studio again.

Please also keep in mind that i had to add the below lines for proxy in

studio64.vmoptions and studio.vmoptions
-Dhttps.proxyPort=port
-Dhttps.proxyHost=host
-Dhttps.proxyUser=username
-Dhttps.proxyPassword=password

Hope this helps



来源:https://stackoverflow.com/questions/26874119/sdk-manager-is-greyed-out

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