zoukankan      html  css  js  c++  java
  • Android环境搭建问题的解决: Connection to http://dl-ssl.google.com refused

    第一次搭建Android环境,遇到这个问题:

    Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml
    Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused
    Fetched Add-ons List successfully
    Fetching URL: http://dl-ssl.google.com/android/repository/repository-6.xml
    Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to http://dl-ssl.google.com refused
    Done loading packages.
    折腾了几天,有点懵了~~
    不过刚刚终于柳暗花明:在http://stackoverflow.com/questions/2766713/android-download-the-android-sdk-components-for-offline-install上找到了适合这个问题的解法。

    按照上述步骤,先在netstat命令来查看proxy地址,如下:

    我的PC上显示的proxy是上面绿色框内的地址,再把这个地址填入到setting:

    再重新Reload(Android SDK Manager菜单: Packages->Reload),终于成功了:



  • 相关阅读:
    一起ORA-00028案例的处理过程
    Preferences偏好设置
    Snap Settings对齐设置
    Graphics Emulation图形模拟
    Network Emulation(网格模拟)
    Selection
    Edit编辑
    Build Settings 构建设置
    Player Settings-PC
    Build Settings发布设置
  • 原文地址:https://www.cnblogs.com/lzjsky/p/4609564.html
Copyright © 2011-2022 走看看