Android sdk manager cannot be updated.

Source: Internet
Author: User
Tags android sdk manager

Android sdk manager cannot be updated.
Problem description:Android SDK Manager cannot download updates, or the update speed is too slow, or the list of pending installation packages is not displayed. Solution: first, modify the hosts file. The file is located on the system disk (usually drive C). The path is C: \ Windows \ System32 \ drivers \ etc \ hosts. After finding the file, we need to modify the file. Some may find that the file cannot be modified. This may be because the hosts file is set to a read-only attribute, you can cancel the read-only attribute. 1. In the file attribute, deselect the check in Figure 1. Figure 1 open the hosts file again in the hosts file attribute box, add the following code in the blank space at the end of the file, and save the Code:

# Google homepage 203.208.46.146 www.google.com # This line is to facilitate open Android development official website now seems not VPN can also open 74.125.113.121 pai.android.com # update content from the following address download 203.208.46.146 dl. google. Alipay dl-ssl.google.com

Second, in the Tool-> Option of Android SDK Manager, change the https Resource Acquisition Method to http. 2: Figure 2. Modify the Android SDK Manager option 3. re-open the Android SDK Manager and check whether the normal update list is displayed.

Android development problem: cannot update SDK manager upgrade package

Manually override.

The android sdk manager does not display updates, but only the installed version is displayed. How can this problem be solved ??

This may be due to network problems, and google servers may not be connected in China.
Try the following method: 1.SDK Manager's Tools-> Options to open the Settings of SDK Manager,
Select Force https ://... Sources to be fetched using http ://...",
Use http.
2. Modify the hosts file.
Windows is in the C: \ WINDOWS \ system32 \ drivers \ etc directory,
Linux users open the/etc/hosts file,
After opening the file, add the following content:
# Android update 203.208.46.146 dl. google. com203.208.46.146 dl-ssl.google.com

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.