简体   繁体   English

无法通过Android SDK Manager下载软件包

[英]Unable to Download Packages via Android SDK Manager

I have recently installed Android SDK on my computer running Windows 7 x64. 我最近在运行Windows 7 x64的计算机上安装了Android SDK。

I then installed the Eclipse ADT plugin. 然后,我安装了Eclipse ADT插件。 I am running Eclipse Juno JEE. 我正在运行Eclipse Juno JEE。

When I attempt to run the SDK Manager through Eclipse, I receive the following errors: 当我尝试通过Eclipse运行SDK Manager时,出现以下错误:

在此处输入图片说明

Nothing I have tried has allowed me to download/install/update Android SDK and its packages. 我没有尝试过让我下载/安装/更新Android SDK及其软件包。

I have tried https and forcing http 我尝试过https并强制使用http
I have tried running calling program as administrator. 我尝试以管理员身份运行调用程序。
I have added Eclipse, SDK Manager to Firewall exceptions. 我已将Eclipse SDK Manager添加到防火墙例外中。
I have turned off my antivirus. 我已关闭防病毒软件。
I have turned off my firewall. 我已关闭防火墙。
I have tried various combinations of the above. 我已经尝试了上述各种组合。

I can navigate my browser to both URLs (using Firefox). 我可以将浏览器导航到两个URL(使用Firefox)。 That should negate "Failed to read..." options 1 and 2. Option 3 seems to be the likely candidate as the XML files do not, in fact, include the <'xsd:schema'> tag. 这应该否定选项1和2“无法读取...”。选项3似乎是可能的候选者,因为XML文件实际上不包含<'xsd:schema'>标记。 However, I don't know how, if, or where I might be able to point SDK Manager to a local, modified copy of these XML files, or if that would even solve anything. 但是,我不知道如何,是否或在哪里可以将SDK Manager指向这些XML文件的本地修改后的副本,或者这是否还能解决任何问题。

Any help would be greatly appreciated. 任何帮助将不胜感激。

Note: I have installed Android SDK/ Eclipse ADT Plugin on the same machine in the past. 注意:过去,我已在同一台计算机上安装了Android SDK / Eclipse ADT插件。 This is a fresh install after a recent reimage. 这是最近重新映像后的全新安装。

I am not sure if this answer's your question exactly to the point but yet I hope this helps you. 我不确定这个答案是否正是您的问题,但是我希望这对您有所帮助。

As u wrote it looks like you have downloaded eclipse from its website and android sdk separately from Android website. 如您所写,您似乎已从其网站和android sdk分别从Android网站下载了eclipse。 Why don't you download the Android SDK ADT package with pre-eclipse setup. 为什么不下载带有预Eclipse设置的Android SDK ADT软件包。

That will make your job way lot easier. 这将使您的工作变得容易得多。 The file name would be something like this: 文件名将如下所示:

                  adt-bundle-windows-x86_64-20130729.zip

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

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