Android SDK cannot be updated

Source: Internet
Author: User

1. Under SDK Manager tools->options Open SDK Manager settings, select "Force https://... sources to be fetched using http://...", Enforces the use of the HTTP protocol.
2, modify the host file, add the following two lines

#google_android更新
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

Other:
Windows modifies the host method
WINDOWS open C:\WINDOWS\system32\drivers\etc\hosts file directly modified

Mac Change Host method
1. Open terminal (terminal), input: sudo vi/etc/hosts
2. Enter the system password
3. Input I enter edit mode
4. After the edit is complete, press ESC and enter: WQ

Android SDK cannot be updated

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.