您的位置:首页 > 移动开发 > Android开发

Android SDK Manager Failed to fetching

2012-09-08 19:25 323 查看
转自:http://blog.csdn.net/vipa1888/article/details/7442388 

最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS,    HTTP  和  HTTPS  都不能解决,这给我带来了很大的困惑!   加载不出来的界面错误为:

[html] view
plaincopy

Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml  

Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused  

Fetched Add-ons List successfully  

Fetching URL: <a href="http://dl-ssl.google.com/android/repository/repository-6.xmlFailed">http://dl-ssl.google.com/android/repository/repository-6.xml  

Failed</a> to fetch URL <a href="http://dl-ssl.google.com/android/repository/repository-6.xml">http://dl-ssl.google.com/android/repository/repository-6.xml</a>, reason: Connection to http://dl-ssl.google.com refused  

Done loading packages.  

[html] view
plaincopy

Fetching <a href="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>  

Failed to fetch URL <a href="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>, reason: Connection to <a href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused  

Fetched Add-ons List successfully  

Fetching URL: <a href="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>  

Failed to fetch URL <a href="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>, reason: Connection to <a href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused  

Done loading packages.  

我就纠结了,一直连接失败,难道是电信把google android屏蔽了,最近有一个想法,电信再怎么屏蔽android  但是不会屏蔽google搜索引擎的,如果电信把google搜索引擎屏蔽了,那电信估计也倒闭了! 呵呵  我就做了一个选择  ,使用www.google.com做代理,详细看截图:



 

然后点击了一个package下的  reload  重新加载,呵呵  结果API level  全部出来了,真的很爽歪歪  ,呵呵  分享给大家,希望给大家有帮助~ 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐