今天更新sdk,遇到了更新下载失败问题:
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-8.xml
Done loading packages.
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.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-8.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: HttpHostConnect Connection to https://dl-ssl.google.com refused
Done loading packages.
搜索了下,解决方案如下:
解决国内访问Google服务器的困难:
1.启动 Android SDK Manager ;
2.打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;
3.在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」输入框内填入mirrors.neusoft.edu.cn,在「HTTP Proxy Port」输入框内填入80,并且选中「Force https://... sources to be fetched using http://...」复选框;
4.设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;
5.依次选择「Packages」、「Reload」。
www.sunarvr.com
相关文章
- 09-24WSA安卓子系统最新版下载直链:微软已更新至1.8.32822.0版本适用于Android的Windows子系统无需切换美区和Beta通道
- 09-24elasticsearch:v5.5.1-1和 fluentd-elasticsearch:v2.0.1下载镜像失败 imagePullBackOff的解决方法,其他镜像类似
- 09-24Android SDK下载和更新失败解决方法
- 09-24Android SDK更新缓慢或无法更新的解决方法
- 09-24IIS7上设置MIME让其支持android和Iphone的更新下载
- 09-24Eclipse集成环境中Android SDK下载及更新失败解决方案
- 09-24Android SDK和ADT无法更新的解决办法
- 09-24Android SDK下载和更新失败的如何解决
- 09-24解决Android SDK Manager更新(一个更新Host的程序的原理实现和源码)
- 09-24Android SDK Manager 更新失败的解决方法