Android SDK Manager Not Installing Components

前端 未结 16 1736
你的背包
你的背包 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:48

    I was getting a similar permission issue and SDK Manager could not download and install new components. Error message was (I'm running Android Studio (I/O Preview) 0.2.9)

    "Unable to create C:\Program Files (x86)\Android\android-studio\sdk\temp"

    Although solution was infact what @william-tate's answer says, I could not run the 'SDK Manager' directly. It fails with message:

    Failed to execute tools\android.bat The system cannot find the file specified.

    Instead I ran the 'tools\android.bat' as Administrator, which in turn launched SDK Manager with same permissions which fixed the issue.

    Hope this helps for someone who faces the issue I faced.

提交回复
热议问题