android sdk经理没有更新

时间:2014-08-01 06:58:13

标签: android eclipse sdk android-sdk-manager

尝试更新我的eclipse sdk管理器以获取android时出现以下错误而不是更新:

Downloading Android SDK Platform-tools, revision 20
URL not found: C:\Program Files\Android\android-sdk\temp\platform-tools_r20-windows.zip (Access is denied)
Downloading Documentation for Android SDK, API 19, revision 2
URL not found: C:\Program Files\Android\android-sdk\temp\docs-19_r02.zip (Access is denied)
Downloading SDK Platform Android 4.4.2, API 19, revision 3
URL not found: C:\Program Files\Android\android-sdk\temp\android-19_r03.zip (Access is denied)
Downloading SDK Platform Android 4.3, API 18, revision 2
URL not found: C:\Program Files\Android\android-sdk\temp\android-18_r02.zip (Access is denied)
Downloading Samples for SDK API 19, revision 5
URL not found: C:\Program Files\Android\android-sdk\temp\samples-19_r05.zip (Access is denied)
Downloading Sources for Android SDK, API 19, revision 2
URL not found: C:\Program Files\Android\android-sdk\temp\sources-19_r02.zip (Access is denied)
Skipping 'Android SDK Tools, revision 23'; it depends on 'Android SDK Platform-tools, revision 20' which was not installed.
Done. Nothing was installed.

3 个答案:

答案 0 :(得分:23)

错误为Access is denied,这意味着您应该以管理员身份运行SDK Manager,以便对C:\Program Files\Android\android-sdk拥有完全访问权限。

您必须找到android.bat并执行此操作:

enter image description here

答案 1 :(得分:1)

更好的是,在Windows 7上执行此操作,sam作为ylecuyer的答案,但更具视觉效果

enter image description here

答案 2 :(得分:0)

如果那不是问题,您的互联网连接可能会出现代理问题 您应该尝试以管理员模式运行您的sdk manager exe来修复问题。如果那个没有用,那么你可以通过本地路径下载adt update install的zip。

在大多数情况下,在eclipse中更新adt时,它可能会破坏你的插件,在这种情况下你必须改变eclipse并且必须使用最新的adt进行全新安装。