【问题标题】:android setup wizard downloading components errorandroid设置向导下载组件错误
【发布时间】:2015-01-10 13:49:17
【问题描述】:

我是安卓工作室的新手。我安装了最新版本的 Android Studio 并提供了现有 SDK 文件夹路径的路径,我知道它们可以在我的另一台带有 android Studio 的 PC 上运行。 但它不会启动并且在下载组件屏幕上给我这个错误并退出。

Refresh Sources:
  Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Unknown Host dl-ssl.google.com
  Fetched Add-ons List successfully
  Refresh Sources
  Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-10.xml, reason: IO Unknown Host dl-ssl.google.com
Refresh Sources:
  Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-10.xml, reason: IO Unknown Host dl-ssl.google.com
There is nothing to install or update.
The following SDK component was not installed: build-tools-21.1.

所以在显示此消息后,设置关闭。

【问题讨论】:

    标签: android android-studio sdk installation


    【解决方案1】:

    我终于在朋友的帮助下解决了这个问题。 问题出在代理上,我需要在运行之前在 android studio 的设置中设置代理模式。

    设置是:

    你必须找到:

     C:\Users\%USERPROFILE%\.AndroidStudio\config\options\others.xml 
    

    找到 USE_PROXY_PAC,然后将值更改为“true”。然后打开您的代理应用程序并将系统设置为使用代理。然后以 Administrator 身份运行安装程序,所有组件都会安装。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-21
      • 2013-07-06
      • 1970-01-01
      • 2016-09-15
      • 2012-12-22
      • 1970-01-01
      • 2018-04-10
      • 1970-01-01
      相关资源
      最近更新 更多