【Android问题】解决 Android SDK下载和更新失败“Connection to https://dl-ssl.google.com refused”的问题

缘由:

更新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://mirrors.neusoft.edu.cn/configurations.we#android

时间: 2024-09-30 15:47:27

【Android问题】解决 Android SDK下载和更新失败“Connection to https://dl-ssl.google.com refused”的问题的相关文章

解决 Android SDK下载和更新失败“Connection to https://dl-ssl.google.com refused."

缘由: 更新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-ss

打开SDK Manager检查Android SDK下载和更新失败的解决方法

[故障描述] 打开SDK Manager检查Android  SDK状况,出现以下情况: Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused Failed to fetch URL https://dl-ssl.google.com/android/repository/

Android SDK下载和更新失败的解决方法

今天更新sdk,遇到了更新下载失败问题: Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xmlFetched Add-ons List successfullyFetching URL: https://dl-ssl.google.com/android/repository/repository-8.xmlDone loading packages.Fetching https://dl-ssl.goog

[转]Android SDK下载和更新失败的解决方法

今天更新sdk,遇到了更新下载失败问题: Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xmlFetched Add-ons List successfullyFetching URL: https://dl-ssl.google.com/android/repository/repository-8.xmlDone loading packages.Fetching https://dl-ssl.goog

Eclipse SDK下载和更新失败的解决方法

今天更新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.

解决Android SDK下载和更新失败问题

今天更新sdk报错如下: Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml. 说dl-ssl.google.com在大陆被强了,解决方法就是修改C:\Windows\System32\drivers\etc\hosts文件.添加一行: 74.125.237.1 dl-ssl.google.com

解决Android SDK下载和更新失败的方法

因为最近在学习安卓.遇到这个问题. 发现无法获取各种api 和sdk . 不知道是不是因为我人在新疆的问题(出差).所以遇到这个问题. 这个问题很好解决,打开Tools-->Options-->Force https://...sources to be fetched using http://.. 把这个选项勾上就可以了.这个问题解决了.但是会发现 都是空的 什么的看不到,如果之前有过版本,也看不到最新的版本 但是还是会告诉你 Done loading packages. 这个问题实际上就

Android SDK下载和更新失败的解决方法!!!

试试这个,能解决国内访问Google服务器的困难启动 Android SDK Manager ,打开主界面,依次选择「Tools」.「Options...」,弹出『Android SDK Manager - Settings』窗口:在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force https://... sour

Android 5.0 Lollipop SDK下载地址(PASS)

Android 5.0 ARM EABI v7a System Image https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_arm-21_r01.zip Android 5.0 Android TV ARM EABI v7a System Imagehttps://dl-ssl.google.com/android/repository/sys-img/android-tv/sysimg_atv_ar