"Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml,reason: Connection to https://dl-ssl.google.com refused"


使用Android SDK  Manager下载 SDK时候出现上面的错误,解决方式:


1、打开C:\WINDOWS\system32\drivers\etc中的hosts文件 


2、最后一行添加一个74.125.237.1 dl-ssl.google.com 


3、在Mac OS系统中修改的目录是/etc/hosts文件,添加一个74.125.237.1 dl-ssl.google.com 

就可以了,由于无法解析 https://dl-ssl.google.com,所以直接使用IP来解析。

更多相关文章

  1. Android 扫描SDCard上的音乐文件以及监听扫描事件
  2. android文件下载
  3. android界面xml文件中导入另一个xml文件的方法include
  4. Android的低级错误
  5. Unity各平台上读写文件-Android例子
  6. ionic 发布android,并查看签名文件。
  7. android:报Activity has leaked IntentReceiver或者receiver is

随机推荐

  1. Android(安卓)ImageView ScaleType
  2. android学习----通过android帮助,学习Text
  3. android源码下载-Windwos下使用清华镜像
  4. Android(安卓)使用XML隐藏ActionBar中遇
  5. Ubuntu 16.04 64bit 编译 Android(安卓)4
  6. interview-question
  7. Android(安卓)以singleInstance模式加载
  8. Context上下文的一些应用
  9. EditText常用属性【一】:空白提示/文本域
  10. android学习笔记29:simpleAdapter