zoukankan      html  css  js  c++  java
  • 解决android sdk 无法更新

    http://edu.51cto.com/index.php?do=lession&id=15683

    今天更新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.

    搜索了下,解决方案如下:

    解决国内访问Google服务器的困难:
    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」。

  • 相关阅读:
    C语言I博客作业08
    博客作业6
    C语言I博客作业05
    C语言I博客作业03
    5.C#2.0之不完整类型(完成)
    4.C#2.0之迭代器(完成)
    3.C#2.0之匿名方法(完成)
    2.C#2.0之泛型(完成)
    1.C#2.0之2.0简介(完成)
    18.C#基础之不安全代码(完成)
  • 原文地址:https://www.cnblogs.com/as3lib/p/6105827.html
Copyright © 2011-2022 走看看