zoukankan      html  css  js  c++  java
  • Android SDK 无法连接到GOOGLE 下载安装包

     

    问题:运行SDK Manager.exe老是提示这样的错误:
    Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
    Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused
    Fetched Add-ons List successfully
    Refresh Sources
    Fetching URL: https://dl-ssl.google.com/android/repository/repository-6.xml
    Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused

    解决方法:

    在C:\Windows\System32\drivers\etc\

    找到hosts,用记事本打开hosts文件,最后一行加74.125.237.1 dl-ssl.google.com 

  • 相关阅读:
    Java-数据字符串进行四舍五入
    Git本地安装及汉化
    Navicat安装教程
    Jdk+maven安装
    系列文章
    @PathVariable
    feign组件
    Lombok
    常见Jar包的用途
    iOS archive(归档)的总结
  • 原文地址:https://www.cnblogs.com/kingangWang/p/2722044.html
Copyright © 2011-2022 走看看