Android SDK Manager Not Installing Components
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 install I got an error stating that the Manager could not create a temp folder within the Android directory. So I created it. Now I'm getting this error:
Downloading SDK Platform Android 2.3, API 9, revision 1 File not found: C:Program Files (x86)Androidandroid-sdk-windowstempandroid-2.3_r01-linux.zip (Access is denied)
There is also a little message under the progress bar that says "Done. Nothing was installed."
I'm running Windows 7 Ultimate, in case that's of any use.
When you launch SDK manager, try right clicking on the .exe and selecting "Run As Administrator".
Also, some anti-virus programs have been known to interfere with SDK Manager
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)Androidandroid-studiosdktemp"
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 toolsandroid.bat The system cannot find the file specified.
Instead I ran the 'toolsandroid.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.
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.
链接地址: http://www.djcxy.com/p/63510.html上一篇: Android ADT错误,dx.jar未从SDK文件夹加载
下一篇: Android SDK管理器不安装组件