Android SDK 和 AVD 管理器错误:找不到文件:C:\Program Files (x86)\Android\android-sdk\temp\
最初,我只安装了 Android API 12。但现在,我尝试安装其他可用的软件包,它显示:
Downloading SDK Platform Android 3.0, API 11, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-3.0_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.3.3, API 10, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.3.3_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.2, API 8, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.2_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 2.1, API 7, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.1_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 1.6, API 4, revision 3
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-1.6_r03-windows.zip (Access is denied)
Downloading SDK Platform Android 1.5, API 3, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-1.5_r04-windows.zip (Access is denied)
Downloading Samples for SDK API 12, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-3.1_r01-linux.zip (Access is denied)
Downloading Samples for SDK API 11, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-3.0_r01-linux.zip (Access is denied)
问题是什么以及如何解决?
Initially, I installed only Android API 12. But now, I'm trying to install other available packages and it displays:
Downloading SDK Platform Android 3.0, API 11, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-3.0_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.3.3, API 10, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.3.3_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.2, API 8, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.2_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 2.1, API 7, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.1_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 1.6, API 4, revision 3
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-1.6_r03-windows.zip (Access is denied)
Downloading SDK Platform Android 1.5, API 3, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-1.5_r04-windows.zip (Access is denied)
Downloading Samples for SDK API 12, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-3.1_r01-linux.zip (Access is denied)
Downloading Samples for SDK API 11, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-3.0_r01-linux.zip (Access is denied)
What is the problem and how can I solve it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
我遇到了同样的问题,它与权限有关。
找到您的 android 文件夹(默认位于程序文件中)。右键单击该文件夹并转到属性。查看安全选项卡下,然后找到编辑按钮。更改权限以允许用户完全控制。
I had this same exact problem, and it had to do with permissions.
Find your android folder (default is in program files). Right click on the folder and go to properties. Look under the security tab and then find the edit button. Change the permissions to allow full control with User.
我遇到了同样的问题,“以管理员权限运行”,它起作用了
I had the same problem and "Run with admin privileges" , it worked
经过尝试并确认,需要管理员权限。
下次,尝试将 SDK 安装在不需要特权访问权限的路径上(Program Files 需要)。您还可以编辑 SDK 安装路径的设置,为您登录的用户提供写入权限。
Tried and confirmed, admin priviledges required.
Next time, try installing the SDK on a path that doesn't require privileged access rights (Program Files does). You could also edit the settings of the SDK install path to give write access to the user you log in as.
尝试以管理员权限启动 SDK 管理器。那么它应该可以工作。
Try starting the SDK Manager with Administrator privileges. Then it should work.
对我来说,它可以使用管理员权限,但是:
For me it worked with Administrator priviledges, but:
请转到开始菜单,找到 SDK 管理器,右键单击并“以管理员身份运行”,它将起作用。
please goto start menu, locate SDK manager, right click and "run as administrator" and it wil work.
打开android SDK文件夹,右键单击SDK管理器以管理员身份运行然后安装你想要的
open android SDK folder , right click on SDK manager run as administrator then install what do you want
我遇到了这个问题,我尝试以管理员权限运行 SDK Manager,但它不起作用:它无法获取包。
我解决了以管理员身份运行 Eclipse 并从那里启动 SDK 管理器的问题
I had this problem I tried to run SDK Manager with Administrator privileges but it did not work: it wasn't able to fetch the packages.
I solved the problem running Eclipse as Administrator and starting the SDK Manager from there
我遇到了同样的问题,“以管理员权限运行”还不够!
我通过重新安装 sdk 解决了这个问题:
I had the same problem and "Run with admin privileges" weren't enough !
I solved it by resintalling the sdk :