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

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

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

错误代码:

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: http://dl-ssl.google.com/android/repository/repository-6.xml  
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to http://dl-ssl.google.com refused  
Done loading packages.  
[html] view plaincopy
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-6.xml  
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused  
Done loading packages. 


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

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

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

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

你可能感兴趣的:(Android常识基础)