错误

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com>

原因是谷歌被墙了

修改hosts文件,Windows: C:\WINDOWS\system32\drivers\etc; Linux: /etc/hosts。
添加 #Google首页
203.208.46.146 www.google.com
#方便查看android api,下载sdk等
74.125.113.121 developer.android.com
#sdk manger下载
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

光是这样还是不行的,因为使用https下载,

需要在sdk manger菜单栏tools--options--勾上Force https xxx to be http xxx。

或使用代理

hx.gy:1080是红杏公益服务器,方便科学工作者访问一些常用的科学网站。

最新文章

  1. 数据库为什么要用B+树结构--MySQL索引结构的实现
  2. java项目报junit 相关错误
  3. poj 3735 Training little cats 矩阵快速幂+稀疏矩阵乘法优化
  4. zend 快捷键
  5. C2第四次作业解题报告
  6. Add Customerlize Button in More Button List In Odoo
  7. While readingiphone真机无法显示图片,而模拟器可以正常显示
  8. KafkaSpout: PartitionManager的行为分析
  9. 使用jsonp跨域请求
  10. ORACLE查看锁(lock)情况
  11. SpringMVC源码阅读(一)
  12. java中对象的转型
  13. java线层的启动与停止
  14. Spark集群模式概述
  15. 基于visual Studio2013解决C语言竞赛题之1074八皇后
  16. 状态开关按钮(ToggleButton)与开关(Switch)的功能与用法
  17. Noip 2014酱油记+简要题解
  18. J1001.Java原生桌面及Web开发浅谈
  19. app后端设计(4)-- 通讯的安全性
  20. 003.MySQL高可用主从复制新增slave

热门文章

  1. 数据块dump详解及大小表扫描过程
  2. Linux Programmer&#39;s Manual --- reboot
  3. docker ubunt镜像中文乱码,文件名问号解决
  4. SyBase 百科
  5. Java6 WebService的发布
  6. 【Hive】Hive 基础
  7. Shell命令-----VI
  8. Android学习(十五) 系统服务
  9. Android控件常见属性
  10. C++11之右值引用(三):使用C++11编写string类以及&ldquo;异常安全&rdquo;的=运算符