第一次搭建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上找到了适合这个问题的解法。
Android环境搭建问题的解决: Connection to http://dl-ssl.google.com refused
按照上述步骤,先在netstat命令来查看proxy地址,如下:
Android环境搭建问题的解决: Connection to http://dl-ssl.google.com refused
我的PC上显示的proxy是上面绿色框内的地址,再把这个地址填入到setting:
Android环境搭建问题的解决: Connection to http://dl-ssl.google.com refused
再重新Reload(Android SDK Manager菜单: Packages->Reload),终于成功了:
Android环境搭建问题的解决: Connection to http://dl-ssl.google.com refused


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-06
  • 2021-11-14
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案