zoukankan      html  css  js  c++  java
  • Android 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.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.

    解决方法如下:

    1.启动 Android SDK Manager ;
    2.打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;
    3.在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force https://... sources to be fetched using http://...」复选框;
    4.设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;
    5.依次选择「Packages」、「Reload」。

    转载自:点击打开链接

    如果觉得本文对您有帮助,请“打赏”,谢谢。
    您的鼓励,我的动力。
    微信 支付宝
  • 相关阅读:
    谈谈团队文化
    ubifs性能优化分析
    ubifs总体设计分析
    分层网络模型(二)
    哎,老了之display-box
    http协议
    box-shadow,text-shadow
    nth-child,nth-last-child,after,before,tab-highlight-color,first-child,last-child
    转载之html特殊字符的html,js,css写法汇总
    一天学习一点之express demo
  • 原文地址:https://www.cnblogs.com/zongzhankui/p/5875330.html
Copyright © 2011-2022 走看看