Android的SDK管理器提供了"无法抓取网址https://dl-ssl.google.com/android/repository/repository.xml"在选

2023-09-12 00:37:00 作者:你说深爱却是深碍☠

我试图安装一个平台,但是当我打开Android的经理,然后我点击可用软件,然后选择 https://dl-ssl.google.com/android/repository/repository.xml库

I'm trying to install a platform but when I open Android Manager then I click Available Software then select the https://dl-ssl.google.com/android/repository/repository.xml repository

我得到这个错误:

无法抓取网址https://dl-ssl.google.com/android/repository/repository.xml

我也尝试下载点击力的http:所有的https:开头,下载设置面板上,但它仍然没有帮助

I have also tried downloading by clicking on force "http:" for all "https:" downloads on settings panel but it still doesn't help.

我工作在Windows Vista上。

I'm working on Windows Vista.

推荐答案

如果您在浏览器中输入URL,然后看看页面的源代码code,你将看到一个XML文档返回。

If you enter the URL in a browser and then look at the source code of the page you will see that an XML document is returned.

为什么URL将工作在一个浏览器,但没有在Android经理可能是您需要指定代理服务器的原因。在Eclipse(3.5.2)的代理服务器设置可以在这里找到:窗口 - >preferences - >常规 - >网络连接

The reason why that URL would work in a browser but not in the android manager might be that you are required to specify a proxy server. In Eclipse (3.5.2) the proxy settings can be found here: "Window" -> "Preferences" -> "General" -> "Network Connections"