Android SDK Manager Not Installing Components

前端 未结 16 1638
你的背包
你的背包 2020-11-28 19:35

Not sure what I\'m doing wrong here. I installed the Android SDK Manager, and am now trying to install a platform like the Android Dev website suggests. Once I clicked insta

相关标签:
16条回答
  • 2020-11-28 19:50

    The Access denied is because Windows doesn't give the default write and modify permission to the files in its install drive viz. c: To resolve this issue I usually use a separate drive or in your case, you need to set the access rights to the specific folder in the options right click -> options > security -> edit

    0 讨论(0)
  • 2020-11-28 19:52

    In Mac OS X (tried with Android Studio), do the following in Terminal

    cd /android/adt-bundle-mac-x86_64/sdk/tools 
    sudo ./android sdk
    

    This launches SDK manager as admin. Now update/install the packages from SDK manager and it'll work.

    0 讨论(0)
  • 2020-11-28 19:52

    For those running SDK Manager in Eclipse, selecting "Run As Administrator" while starting Eclipse.exe helps.

    0 讨论(0)
  • 2020-11-28 19:56

    For Android Studio, selecting "Run As Administrator" while starting Android Studio helps.

    0 讨论(0)
  • 2020-11-28 19:57

    I had a similar issue - very slow xml downloads followed by an empty package list. The SDK, it seems, was trying to use legacy Java installation. Setting the JAVA_HOME to the 1.6 jdk did the trick.

    0 讨论(0)
  • 2020-11-28 19:59

    To go along with what v01d said:

    Using Android Studio for Mac OS X, the SDK folder could also be at /Users/{user}/Library/Android/sdk, where {user} is your username.

    To find out where the partial SDK installation is, go to Configure > SDK Manager in Android Studio, then click edit at the top. This should pop up a window and show the location.

    Copy this path and paste it front of the cd command in a terminal. Finally execute sudo ./android sdk to launch the standalone SDK manager.


    EDIT (July 14, 2016):

    The "android" binary file could also be at /Users/{user}/Library/Android/sdk/tools.

    0 讨论(0)
提交回复
热议问题