Android SDK “Connection to https://dl-ssl.google.com refused”
来源:互联网 发布:mac git客户端 编辑:程序博客网 时间:2024/05/17 07:52
缘由:
更新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.
遂百度,网上有很多文章有说到这个,但是因为大陆政策问题,像更改hosts文件等方法,我这都没解决问题,最后还是强大的开源力量啊,开源万岁,配置步骤如下:
1.启动 Android SDK Manager ,打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;2.在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force https://... sources to be fetched using http://...」复选框。设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;3.依次选择「Packages」、「Reload」。
来源:
http://www.cnblogs.com/yc-755909659/p/4073415.html
http://mirrors.neusoft.edu.cn/configurations.we#android
- Android SDK “Connection to https://dl-ssl.google.com refused”
- Android sdk下载失败 解决“Connection to https://dl-ssl.google.com refused”问题
- Android环境SDK Manager无法更新问题Connection to https://dl-ssl.google.com refused
- Android环境SDK Manager无法更新问题Connection to https://dl-ssl.google.com refused
- Android环境SDK Manager无法更新问题Connection to https://dl-ssl.google.com refused
- 使用eclipse更新Android SDK Connection to https://dl-ssl.google.com refused问题
- 解决 Android SDK下载和更新失败“Connection to https://dl-ssl.google.com refused
- 更新android sdk时报错 Connection to https://dl-ssl.google.com refused
- Android SDK Manager报错 Download interrupted: Connection to https://dl-ssl.google.com refused
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决“Connection to https://dl-ssl.google.com refused”问题
- 解决"Connection to https://dl-ssl.google.com refused”问题
- 练习1
- 进程、线程相关的概念
- 蓝桥杯- 算法训练 Anagrams问题
- 我所理解的RxJava——上手其实很简单
- 大数据学习笔记之四十六 深度学习训练加速方法
- Android SDK “Connection to https://dl-ssl.google.com refused”
- Unity热更新专题(四)Unity热更新之LuaInterface(下)
- iOS代码规范(OC和Swift)
- (转)Android 手把手教您自定义ViewGroup(一)
- animation-fill-mode:both理解
- 使用 VS 2012 编译 GTest 遇到的编译错误
- MySQL免安装教程
- IP拨号广播接收者
- Unity热更新专题(五)如何打包AssetBundle