Updates for Android SDK and ADT

Source: Internet
Author: User
Tags android sdk manager

ADT version is low, causing the XML layout file can not be previewed, the update found that Google was the wall, to find online tricks to solve the problem for the time being.

1. Updates to the SDK:

Modify the https://to HTTP//

The modification method is: In the Android SDK manager->tools-options ... Options interface,
Check "Force https://... sources to be fetched using http://..."!

2. Modify the Host File

In the file (C:\Windows\System32\drivers\etc\hosts), add the following lines:
203.208.46.146 www.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

If Win7, you can open Notepad as an administrator and edit the host file above, otherwise there is no save permission.

3. Update ADT:

Enter http://dl-ssl.google.com/android/eclipse/or https://dl-ssl.google.com/in Help-->install new software--> android/eclipse/

Then after waiting for pending, a new version of ADT is listed and the update is

Updates for Android SDK and ADT

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.