How can I update the Android SDK after Google is attacked ?, Androidsdk

Source: Internet
Author: User
Tags android sdk manager

How can I update the Android SDK after Google is attacked ?, Androidsdk

    • Preface
    • 1. Modify the hosts file configuration
    • 2. Modify eclipse SDK Manager settings
    • 3 latest SDK Effect

Preface

Recently, I have seen some questions from colleagues in various Android technology development groups about how to update the Android SDK? Or who has the latest SDK installation package? At this time, I always want to answer them immediately, but I cannot describe them in a concise and clear way. Therefore, write this article to help people who are looking for methods, and leave a bottom for them to forget about it. In fact, the method is very simple, just two simple steps.

1. Modify the hosts file configuration

In Windows, hosts files are usually located in the C: \ Windows \ System32 \ Drivers \ etc directory, while in Linux systems (such as Ubuntu), hosts files are usually located in the/etc/hosts directory. The configuration is as follows:

203.208.46.146 www. google. com74.125.113.121 developer. android. com203.208.46.146 dl. google. com203.208.46.146 dl-ssl.google.com
2. Modify eclipse SDK Manager settings

Open eclipse, Window-Android SDK Manager-Tools-Options:

Select Force https ://... Sources to be fetched using http ://... Settings:

Restart eclipse, and then open Android SDK Manager to obtain the new API version.

3. Effects of the latest SDK version

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.