简体   繁体   English

更新Android SDK时出错

[英]error while updating Android SDK

Hi I am trying to update SDK manager but I am getting the following error: Please anyone if can help me. 嗨,我正在尝试更新SDK管理器,但出现以下错误:请任何人能帮助我。 I am working on Ubuntu 12.04 and android version 4.4.2. 我正在使用Ubuntu 12.04和android 4.4.2。 Thanks in advance 提前致谢

Downloading Android SDK Tools, revision 24.0.2
URL not found: /home/archana/Downloads/adt-bundle-linux-x86_64-20140702/sdk/temp/tools_r24.0.2-linux.zip (Permission denied)
Downloading Android SDK Platform-tools, revision 21
URL not found: /home/archana/Downloads/adt-bundle-linux-x86_64-20140702/sdk/temp/platform-tools_r21-linux.zip (Permission denied)
Downloading Documentation for Android SDK, API 21, revision 1
URL not found: /home/archana/Downloads/adt-bundle-linux-x86_64-20140702/sdk/temp/docs-21_r01.zip (Permission denied)
Downloading SDK Platform Android 5.0.1, API 21, revision 2

I just installed android studio today and was having the same problem the only difference is that I run windows URL not found: /home/archana/Downloads/adt-bundle-linux-x86_64-20140702/sdk/temp/docs- 21_r01.zip (Access denied) The solution in windows is very simple, all I'd to do was run the SDK manager as Administrator and then selected waht I needed to install and it worked. 我今天刚刚安装了android studio,并且遇到了同样的问题,唯一的区别是我运行的Windows URL未找到:/ home / archana / Downloads / adt-bundle-linux-x86_64-20140702 / sdk / temp / docs- 21_r01.zip (拒绝访问)Windows中的解决方案非常简单,我要做的就是以管理员身份运行SDK管理器,然后选择需要安装的安装程序并且它可以正常工作。 So I'd suggest you the same thing, run your SDK Manager as the root user. 因此,我建议您做同样的事情,以root用户身份运行SDK Manager。 Hope it helps. 希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM