Android(安卓)SDK Manager Failed to fetching
16lz
2021-01-26
转自:http://blog.csdn.net/vipa1888/article/details/7442388
最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS, HTTP 和 HTTPS 都不能解决,这给我带来了很大的困惑! 加载不出来的界面错误为:
[html] view plain copy
- Fetchinghttp://dl-ssl.google.com/android/repository/addons_list-1.xml
- FailedtofetchURLhttp://dl-ssl.google.com/android/repository/addons_list-1.xml,reason:Connectiontohttp://dl-ssl.google.comrefused
- FetchedAdd-onsListsuccessfully
- FetchingURL:<ahref="http://dl-ssl.google.com/android/repository/repository-6.xmlFailed">http://dl-ssl.google.com/android/repository/repository-6.xml
- Failed</a>tofetchURL<ahref="http://dl-ssl.google.com/android/repository/repository-6.xml">http://dl-ssl.google.com/android/repository/repository-6.xml</a>,reason:Connectiontohttp://dl-ssl.google.comrefused
- Doneloadingpackages.
- Fetching<ahref="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>
- FailedtofetchURL<ahref="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>,reason:Connectionto<ahref="http://dl-ssl.google.com">https://dl-ssl.google.com</a>refused
- FetchedAdd-onsListsuccessfully
- FetchingURL:<ahref="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>
- FailedtofetchURL<ahref="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>,reason:Connectionto<ahref="http://dl-ssl.google.com">https://dl-ssl.google.com</a>refused
- Doneloadingpackages.
我就纠结了,一直连接失败,难道是电信把google android屏蔽了,最近有一个想法,电信再怎么屏蔽android 但是不会屏蔽google搜索引擎的,如果电信把google搜索引擎屏蔽了,那电信估计也倒闭了! 呵呵 我就做了一个选择 ,使用www.google.com做代理,详细看截图:
然后点击了一个package下的 reload 重新加载,呵呵 结果API level 全部出来了,真的很爽歪歪 ,呵呵 分享给大家,希望给大家有帮助~
更多相关文章
- Android(安卓)基于DataBinding的通用RecyclerView Adapter
- android标题栏添加延时加载标志
- Android中ViewFlipper实现动态加载view
- android有效解决加载大图片内存溢出的问题
- Android(安卓)Jni调用so库,加载库失败分析
- Android对第三方类库运行时加载
- 图片加载框架-Picasso最详细的使用指南
- android ViewPager动态加载问题
- Android(安卓)压缩网络上的图片BitmapFactory.decodeStream()返