Android SDK Manager 更新失败的解决方法
Android SDK Manager 更新失败的解决方法
最近使用Android SDK Manager 更新Android SDK tools 发现经常更新失败,获取不到更新信息:
- 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-7.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: peer not authenticated
- Fetched Add-ons List successfully
- Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
- Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-7.xml, reason: SSLPeerUnverified peer not authenticated
- Done loading packages.
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-7.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: peer not authenticated
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-7.xml, reason: SSLPeerUnverified peer not authenticated
Done loading packages.
上述是Android SDK Manager Log的更新失败的信息,如下图:

这个信息是网络上https的网络连接不上造成的,所以需要把https都换成http。
操作如下,点击SDK Manager的Tools->Options

选择 Force https://... sources to be fetched using http://
如下图,见红色框处

当然如果你有VPN或公司有代理可以连上美国的google,那可以在Proxy里面设置代理的IP和端口

设置完后更新就会成功
Log的结果如下:
- Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
- Fetched Add-ons List successfully
- Fetching URL: http://dl-ssl.google.com/android/repository/repository-7.xml
- Done loading packages.
- Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
- Validate XML
- Parse XML
- Fetched Add-ons List successfully
- Fetching URL: http://dl-ssl.google.com/android/repository/repository-7.xml
- Validate XML: http://dl-ssl.google.com/android/repository/repository-7.xml
- Parse XML: http://dl-ssl.google.com/android/repository/repository-7.xml
Android SDK Manager 更新失败的解决方法的更多相关文章
- 解决Android SDK Manager更新失败问题
from:http://www.ztyhome.com/android-sdk-update/ 问题描述: 使用SDK Manager更新时无法完成更新ADT时无法解析https://dl-ssl.g ...
- 使用Android SDK Manager自动下载速度慢解决方法
可以在SDK Manager 的更新界面,勾选下载项并去android-sdk-windows\temp文件家中查找文件名称例如:android-2.3.1_r02-linux.zip在前面加上链接h ...
- 解决Android SDK Manager更新、下载速度慢
hosts文件里面原来的内容不做修改,只是添加内容 方法/步骤 先看看如何加快更新速度,再说如何更新. 首先更新host文件,如图,打开目录 C:\Windows\System32\drivers\e ...
- Android SDK Manager更新不了的解决办法
android SDK Manager更新不了,出现错误提示:"Failed to fetch URL..."! 可以用以下办法解决: 使用SDK Manager更新时出现问题 F ...
- sdk manager更新失败,显示Download interrupted: read timed out,应该如何解决?
今天开始第一天学习Android,就遇到一个大问题.sdk manager无法自动更新,总在提示超时!!! 经过网上查询发现问题原因是. 在利用android sdk manager更新时失败,具体情 ...
- android SDK Manager 上载失败
android SDK Manager 下载失败如题,利用android SDK Manager 无法下载各个版本的SDK,是最近无法连接上谷歌的服务器吗?我用了网上说的在C:\WINDOWS\sys ...
- Android SDK Manager 更新
Android SDK Manager 更新 解决国内访问Google服务器的困难: 1.启动 Android SDK Manager : 2.打开主界面,依次选择「Tools」.「Options…」 ...
- PHP Manager 安装失败的解决方法, PHP Manager 1.4 for IIS 10,经验证支持windows server 2016版本
// 另有无需进行修改注册表的安装包,经测试最高支持Windows Server 2016 版本,下载地址如下: https://github.com/EnhWeb/PHPManager/tree/m ...
- Android SDK三种更新失败及其解决方法
更新Android SDK,居然失败了三次. 1.第一次失败 出现Failed to fetch URL错误提示 Failed to fetch URL https://dl-ssl.google.c ...
随机推荐
- Samsung_tiny4412(驱动笔记01)----linux 3.5,U-Boot,Busybox,SD卡启动环境搭建
/*********************************************************************************** * * linux 3.5,U ...
- C++学习笔记3:一些错误
错误1:执行程序后,控制台闪烁后退出 处理办法: (1)添加头文件:#include <iostream> (2)在程序返回前添加代码: std::cin.clear();//清除错误标志 ...
- yii 创建步骤
1.首先,下载yii框架,解压到www目录下 2.配置php的环境,在控制台输入php,显示下划线表示,路径配置成功 3.在控制台,切换到yii/framework下,运行yiic webapp .. ...
- Ensemble Approaches分类技术
所谓ensemble learning,简单来说,是指综合多种基础模型或弱分类器来完成最终的决策的机器学习方法. Bagging和Boosting(之前所提到的Adaboost)都属于这类方法. Co ...
- lanuchy快捷操作
down arrow: display history shift+delete: remove the item from the distory
- 240. Search a 2D Matrix II
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the follo ...
- matplotlib example
# This file generates an old version of the matplotlib logofrom __future__ import print_function# Ab ...
- Educational Codeforces Round 15 B
B. Powers of Two time limit per test 3 seconds memory limit per test 256 megabytes input standard in ...
- poj 3320 技巧/尺取法 map标记
Description Jessica's a very lovely girl wooed by lots of boys. Recently she has a problem. The fina ...
- HTML5 3D动画效果
对以前来讲,3D动画拿到网页上展示是一件非常奢侈的事情,第一是浏览器不够先进,第二是大部分只能用flash实现伪3D.HTML5的出现,让实现网页3D动画变得非常简单,当然前提是你不要再使用像IE67 ...