Android SDK cannot be updated

Source: Internet
Author: User

1. Open the settings of SDK manager in tools> options under SDK manager, and select "Force https ://... Sources to be fetched using http ://...", Use http.
2. Modify the host file and add the following two lines

# Google_android update
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

In addition:
How to Modify host in Windows
Open the c: \ windows \ system32 \ drivers \ etc \ hosts file in windows and directly modify the file.

How to change the host on Mac
1. Open the terminal and enter sudo VI/etc/hosts.
2. Enter the system password.
3. Enter I to enter the editing mode.
4. After editing, Press ESC and enter: WQ

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.