Android SDK安装失败

时间:2011-12-23 07:21:09

标签: android sdk install

我是android的新手,我试图在windows xp中下载android sdk。我在代理人后面

安装sdk时,我收到此错误

Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused Fetched Add-ons List successfully Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: Connection to https://dl-ssl.google.com refused

在谷歌搜索,我得到了以下2个解决方案。

1)在Android SDK管理器上设置代理 2)强制http,而不是https。

我应该继续做什么。任何帮助,将不胜感激。

我们可以在SDK管理器中设置代理。在 工具 - >选项。

我在网页浏览器(Internet Explorer / Firefiox)中设置了代理和端口

它的工作。 !

2 个答案:

答案 0 :(得分:1)

我们可以在SDK管理器中设置代理。在工具中 - >选项。

我在网页浏览器(Internet Explorer / Firefiox)中设置了代理和端口

它的工作!

答案 1 :(得分:0)

在我的新Win 7 PC上研究这个问题,我发现我的ADT插件丢失了。通过添加这个我解决了问题: 下载ADT插件

使用Eclipse安装的Update Manager功能在开发计算机上安装最新版本的ADT。

假设您已安装Eclipse IDE的兼容版本,如上面的准备安装中所述,请按照以下步骤下载ADT插件并将其安装在Eclipse环境中。

Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:

https://dl-ssl.google.com/android/eclipse/

Click OK

Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.

Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.