关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错

最近SDK出问题了,SDK Manager一直不能刷新API Level,看图


错误代码:

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 target="_blank" 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 target="_blank" 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 target="_blank" 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 target="_blank" 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 target="_blank" href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused  
Fetched Add-ons List successfully  
Fetching URL: <a target="_blank" 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 target="_blank" 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 target="_blank" href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused  
Done loading packages. 


网上找了很多资料,除了使用翻墙软件之外,发现一个很好用的方法啊,来自csdn的某个大神的:http://blog.csdn.net/springsky_/article/details/7442388

于是照着来,找到菜单栏:Tools——>Options


 如图设置好后点击close,API Level就全部出来了,呵呵,感谢这位大神贡献的方法,在此收录让更多的人看到~~

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值