关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错
16lz
2021-12-04
最近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: 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 plaincopyFetching 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
如图设置好后点击close,API Level就全部出来了,呵呵,感谢这位大神贡献的方法,在此收录让更多的人看到~~
更多相关文章
- 【 Android(安卓)'四大组件' 】篇 -- Activity 的 "启动流程"
- android scroller类的使用
- vue.js的h5页面与android(WebViewJavascriptBridge) / ios(windo
- Android开发进阶:如何读写Android文件
- Unity与Android的互相调用
- Android(安卓)面试必备 - JVM 及 类加载机制
- Android(安卓)Launcher 分析
- Android编程实现屏幕自适应方向尺寸与分辨率的方法
- Titanium中Android模块开发指南(中文)