Android eclipse changed the HOSTS update SDK method, androidsdk

Source: Internet
Author: User
Tags android sdk manager

Android eclipse changed the HOSTS update SDK method, androidsdk

Recently, many of my friends want to update the SDK, but they cannot update the SDK for various reasons. So I am here to teach you how to update the SDK in win.

First, modify the system file hosts,


The paths are almost the same. You can view them based on your system.

Next, use a tool such as a text viewer to open the file. If you do not have the permission, try to add the permission to edit the file. For example, right-click the file to add operation permissions,

Open for example:


Then add the two codes to the end.

203.208.46.146 dl. google. com203.208.46.146 dl-ssl.google.com

For example:


Next open the Android SDK Manager in the SDK, In the Options under Tools, there is a Force https://..sources to be fetched using http ://... select this option and add the corresponding HTTP address and port, for example:



This is all done. Haha, friends, then we can happily update the SDK. Isn't it easy!


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.