2

我正在尝试在我的计算机上安装 android SDK,但是发生了很多奇怪的事情。我的主要问题是当我尝试安装 Android 4.0.3 包时。当我这样做时,它说没有安装任何东西。当我查看安装报告时,会出现以下情况:

Preparing to install archives
Downloading Android SDK Tools, revision 19
File not found: C:\Program Files (x86)\Android\android-sdk\temp\tools_r19-windows.zip (Access is denied)
Downloading SDK Platform Android 4.0.3, API 15, revision 3
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied)
Downloading Samples for SDK API 15, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied)
Downloading Sources for Android SDK, API 15, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied)
Downloading Google USB Driver, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\usb_driver_r04-windows.zip (Access is denied) 
Skipping 'ARM EABI v7a System Image, Android API 15, revision 2'; it depends on 'SDK Platform Android 4.0.3, API 15, revision 3' which was not installed.
Skipping 'Intel x86 Atom System Image, Android API 15, revision 1'; it depends on 'SDK    Platform Android 4.0.3, API 15, revision 3' which was not installed.
Skipping 'Google APIs, Android API 15, revision 2'; it depends on 'SDK Platform Android 4.0.3, API 15, revision 3' which was not installed.
Skipping 'HTC OpenSense SDK, Android API 15, revision 2'; it depends on 'SDK Platform Android 4.0.3, API 15, revision 3' which was not installed.
Skipping 'ICS_R1, Android API 15, revision 1'; it depends on 'SDK Platform Android 4.0.3, API 15, revision 3' which was not installed.
Done. Nothing was installed.

在此,它表示当它试图访问某个文件时访问被拒绝。我该如何解决这个问题?

4

3 回答 3

5

由于您显然使用的是 NetBeans,而不是 Eclipse:

右键单击您的 Android SDK 管理器 -> 以管理员身份运行。

这是假设您使用的是 Windows 操作系统。

于 2012-06-15T18:16:42.323 回答
1

关闭你的日食。

然后右键单击 Eclipse 图标 --> 以管理身份运行。

这可能会解决您的问题或查看分步安装指南

于 2012-06-15T18:11:41.780 回答
0

如果您使用的是办公室计算机,则您可能不再拥有执行此操作的必要权限。尝试d:

于 2012-06-15T18:13:50.937 回答