Android SDK 和 AVD 管理器错误:找不到文件:C:\Program Files (x86)\Android\android-sdk\temp\

发布于 2024-11-10 14:35:37 字数 1416 浏览 4 评论 0原文

最初,我只安装了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

北座城市 2024-11-17 14:35:38

我遇到了同样的问题,它与权限有关。

找到您的 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.

叫嚣ゝ 2024-11-17 14:35:38

我遇到了同样的问题,“以管理员权限运行”,它起作用了

I had the same problem and "Run with admin privileges" , it worked

獨角戲 2024-11-17 14:35:37

Blockquote 尝试使用管理员权限启动 SDK 管理器。然后它应该可以工作。

经过尝试并确认,需要管理员权限。

下次,尝试将 SDK 安装在不需要特权访问权限的路径上(Program Files 需要)。您还可以编辑 SDK 安装路径的设置,为您登录的用户提供写入权限。

Blockquote Try starting the SDK Manager with Administrator privileges. Then it should work.

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.

泡沫很甜 2024-11-17 14:35:37

尝试以管理员权限启动 SDK 管理器。那么它应该可以工作。

Try starting the SDK Manager with Administrator privileges. Then it should work.

夜巴黎 2024-11-17 14:35:37

对我来说,它可以使用管理员权限,但是:

  • 如果我从 Eclipse 运行 SDK Manager,它仍然无法工作(即使使用管理员权限)。
  • 如果我运行 SDK Manager exe 文件,它就可以工作。

For me it worked with Administrator priviledges, but:

  • If I run SDK Manager from Eclipse, it still doesn't work (even with admin).
  • If I run SDK Manager exe file, it works.
转角预定愛 2024-11-17 14:35:37

请转到开始菜单,找到 SDK 管理器,右键单击并“以管理员身份运行”,它将起作用。

please goto start menu, locate SDK manager, right click and "run as administrator" and it wil work.

披肩女神 2024-11-17 14:35:37

打开android SDK文件夹,右键单击SDK管理器以管理员身份运行然后安装你想要的

open android SDK folder , right click on SDK manager run as administrator then install what do you want

柳絮泡泡 2024-11-17 14:35:37

我遇到了这个问题,我尝试以管理员权限运行 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

情绪 2024-11-17 14:35:37

我遇到了同样的问题,“以管理员权限运行”还不够!

我通过重新安装 sdk 解决了这个问题:

  1. 转到 Android SDK 网站 并下载stand-单独的 SDK 管理器
  2. 您可以为所有用户安装它(始终需要管理员权限)或仅为您安装。这就是你想要的。
  3. 然后更新应该可以工作! ;-)

I had the same problem and "Run with admin privileges" weren't enough !

I solved it by resintalling the sdk :

  1. Go to the Android SDK website and download the stand-alone SDK manager
  2. You can install it for all users (will always require admin privileges) or only for you. That's how you want.
  3. Then the update should work ! ;-)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文