Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml问题解决

来源:互联网 发布:网络助手怎么用 编辑:程序博客网 时间:2024/04/29 22:35

用eclipse下载ADT时,出现这个问题:

Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml.

方案1:搜索了下Stackoverflow,发现是https的安全问题。把https换成http就好了。

方案2:打开C:\WINDOWS\system32\drivers\etc中的hosts文件,在最后一行添加:74.125.237.1 dl-ssl.google.com

方案3:直接官网http://developer.android.com/sdk/installing/installing-adt.html下载ADT压缩包,不必解压。在eclipse Help > Install New Software,点击Add,选择Archive,选择下载的压缩包就可以了。

0 0
原创粉丝点击