Android SDK Manager failed to update the issue (reprint)

Source: Internet
Author: User
Tags android sdk manager

  1. First look at how to speed up the update, and how to update.

    First update the host file, open Directory C:\Windows\System32\drivers\etc, there is a hosts file in the directory

    Open using Notepad

    Copy the text into the Hosts file, save, note that the original file content is not modified, just attach the content

    203.208.46.146 www.google.com

    74.125.113.121 developer.android.com

    203.208.46.146 dl.google.com

    203.208.46.146 dl-ssl.google.com

    Explain the principle: in the Hosts file to add these content why will speed up the download speed it?

    Everyone knows that each site corresponds to an IP address, then we open the domain name, such as www.baidu.com, the DNS server will first resolve to the IP address, and then go to the access. Then we added the Android SDK in the hosts to get update link and download update link URL and corresponding IP address, the purpose is to eliminate the DNS resolution of this step, thus saving time and speed up the download speed.

  2. 2

    Modify the HTTP request, instead of forcing the HTTP request, instead of the HTTPS request, the principle is to reduce the amount of data transfer, which will also speed up the download speed.

    Open the Android SDK Manager, in the Options under Tools, there is a force https://..sources to be fetched using http://.

    Check this one out and you can.

    Let's see how to open the Android SDK manager for updates.

  3. 3

    Open in Eclipse, or open the Android SDK Manager in your Android SDK installation path. My Android SDK installation path is E:\ANDROID_SDK\ANDROID_SDK.

  4. 4

    Open the Android SDK Manager, you can see that there are updates/new, installed, obselete three options, for us, the update is mainly used to updates/new, so the other two options can not be checked. This will allow you to see the installation package that needs to be updated.

    Tick the installation package you want to update, and click Install x packages in the lower right corner ... (x represents the number of updates), then select the installation package to update, select Accept, or accept all. Then click Install to update it.

    END
Precautions
    • The original content in the Hosts file is not modified, just add content, also remember, because the hosts file defines the relocation, so you re-open the Android development site will be re-location, so, remember to change the host file back.

      Http://jingyan.baidu.com/article/b0b63dbfd0948c4a483070ea.html

Android SDK Manager failed to update the issue (reprint)

Related Article

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.