Android SDK Manager cannot update

Source: Internet
Author: User
Tags android sdk manager


Problem Description:

The Android SDK Manager cannot download the update, or the update is very slow, or the list of packages to be installed is not displayed. Workaround: First, we'll modify the hosts file. The location of the file is in the system disk (typically C-drive) with the following path: C:\Windows\System32\ drivers\etc\hosts. Find the file, we need to modify the file, some students may find that will not be able to modify the file, this may be because the hosts file is set to read-only properties, we can remove its read-only properties, 1, in the file attributes, the tick in Figure 1 is canceled. Figure 1 The Properties box for the Hosts file Open the Hosts file again, and add the following code in its trailing margin to save:

#Google主页

203.208 . 46.146 www . Google . com

#这行是为了方便打开Android开发官网 don't seem to be able to open a VPN now.

74.125 . 113.121 Developer . Android . com

#更新的内容从以下地址下载

203.208 . 46.146 DL . Google . com

203.208 . 46.146 DL - SSL . Google . com

Secondin the Android SDK Manager's tool->option option, the HTTPS resource acquisition method is forced to replace the HTTP protocol acquisition. 2 is shown below:   Figure 2 options for modifying the Android SDK manager third, reopen the Android SDK Manager to see if a normal update list is displayed.

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.