Android SDK updates and workarounds for ADT Update problems

Source: Internet
Author: User

There was a problem using SDK Manager update failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, Reason: Connection to https://dl-ssl.google.com refusedfailed to fetch URL http://dl-ssl.google.com/android/repository/addons _list-1.xml, reason:connection to http://dl-ssl.google.com refusedfailed to fetch URL https://dl-ssl.google.com/ Android/repository/addons_list-1.xml, reason:hostname in certificate didn ' t match: <dl-ssl.google.com>! = < Www.google.com> cannot resolve https://dl-ssl.google.com/android/eclipse when updating ADT

steps to readMethod/Step
  1. 1

    Everyone must be in a hurry, I will not nonsense, directly on the solution!

    Open the SDK Manager under Tools->options, and select "Force https://... sources to be fetched using http://..." To enforce the use of the HTTPS protocol.

    steps to read steps to read
  2. 2

    After you select the previous step, some users can update the list. If it is still not, continue with the following operation.

    In the Address bar, type: C:\WINDOWS\system32\drivers\etc

    steps to read
  3. 3

    We will see the hosts file and right-click Open mode to select Notepad. In the inside of the text copied into the following, the content is as follows ( special emphasis: is the original content after pasting the following content, rather than overwrite ):

    #Google主页

    203.208.46.146 www.google.com

    #这行是为了方便打开Android开发官网 don't seem to be able to open a VPN now.

    74.125.113.121 developer.android.com

    #更新的内容从以下地址下载

    203.208.46.146 dl.google.com

    203.208.46.146 dl-ssl.google.com

    steps to read
  4. 4

    Some users will then see the list loaded. If there is no change, reopen SDK Manager. You will find that the problem is solved. 1

    If you still can't load out the list, or there are 2 red content, it is recommended to try again in a few days!

    steps to read steps to read
  5. 5

    When updating the ADT plugin, use the URL http://dl-ssl.google.com/android/eclipse instead of the Https://dl-ssl.google.com/android/eclipse, This is also described in the official development documentation.

Android SDK updates and workarounds for problems with ADT updates

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.