Android SDK Manager gives “Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml” error when selecting repository

前端 未结 17 1458
无人共我
无人共我 2020-11-29 06:01

I\'m trying to install a platform but when I open Android Manager then I click Available Software then select the https://dl-ssl.google.com/android/repository/repository.xml

相关标签:
17条回答
  • 2020-11-29 07:03

    All that was necessary for me, a Ubuntu user, was to change the owner of the ~/.android directory. In a terminal type the following command:

    sudo chown -R username:username ~/.android
    

    Obviously, you must replace "username" (twice) with your username.

    I wasn't sure if I should post this as an answer because the original poster's question was concerning Windows Vista, not Ubuntu. However I found this post whilst searching for the answer on Ubuntu so I believe it is pertinent. I don't have sufficient reputation to comment on +Maher Gamal's answer, though, which is what lead me to this answer. Hopefully someone else finds it useful!

    0 讨论(0)
  • 2020-11-29 07:03

    Investigating this error on my new Win 7 laptop, I found my ADT plugin to be missing. By adding this I solved the problem: Downloading the ADT Plugin

    Use the Update Manager feature of your Eclipse installation to install the latest revision of ADT on your development computer.

    Assuming that you have a compatible version of the Eclipse IDE installed, as described in Preparing for Installation, above, follow these steps to download the ADT plugin and install it in your Eclipse environment.

    Start Eclipse, then select Help > Install New Software.... Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/ Click OK

    Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons). In the Available Software dialog, select the checkbox next to Developer Tools and click Next. In the next window, you'll see a list of the tools to be downloaded. Click Next. Read and accept the license agreements, then click Finish.

    Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK. When the installation completes, restart Eclipse.

    0 讨论(0)
  • 2020-11-29 07:04

    I had the same problem. I use Ubuntu 12.04. I tried disabling ipv6.

    Modify the /etc/sysctl.conf and add the following:
    #disable ipv6
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    

    Then restart the machine and check. I think this may be a ipv6 issue even in Windows OS.

    0 讨论(0)
  • 2020-11-29 07:05

    I had the same problem, made all the workarounds you advised: still the same error. I updated Eclipse via "Help / Check for updates" and now everything is ok. This update brought a completely new version of the Android SDK Manager.

    0 讨论(0)
  • 2020-11-29 07:06

    Open Android SDK Manager and open menu Tools->Options

    in Proxy Setting Part Set your proxy and ok

    0 讨论(0)
提交回复
热议问题