Android Online Update SDK (using a domestic mirror) _android

Source: Internet
Author: User
Tags android sdk manager

This article describes how Android uses a domestic mirror to update the SDK online. Share to everyone for your reference, specific as follows:

What is the Android SDK:

SDK: (software development Kit) software Development Kit. A collection of development tools that are used by software development engineers to build applications for specific software packages, software frameworks, hardware platforms, and operating systems. The Android SDK is the Android proprietary software Development Kit.

Ways to Accelerate Downloads:

The Android SDK cannot be updated properly due to Google's inability to access its servers in mainland China, causing a lot of inconvenience to Android developers. Here are several ways to accelerate the Android SDK update found on the web.

1. Modify the Hosts file

When using the Android SDK Manager, the main connection to two addresses dl.google.com and Dl-ssl.google.com,key found that these two addresses are not normal access, how to solve it? We can modify the hosts file, the above address to the normal access to the Google server. We can use the Webmaster tool Super Ping to find available IP.

Open Address: http://ping.chinaz.com/, test the IP addresses of dl.google.com and dl-ssl.google.com respectively, and write the IP that is acquired to C:\WINDOWS\SYSTEM32\DRIVERS\ETC \hosts files.

After the test can be properly updated, no words, test again, and then change, there are always available IP.

2. Use of domestic mirror source

Here are some of the first recommendations:

1.mirrors.neusoft.edu.cn/East Soft Information College
2.ubuntu.buct.edu.cn/ubuntu.buct.cn//Beijing University
3.mirrors.opencas.cn (mirrors.opencas.org/mirrors.opencas.ac.cn)//Open Source Association of Chinese Academy of Sciences
4.sdk.gdgshanghai.com Port: 8000//Shanghai GDG mirror server
5.mirrors.dormforce.net//(Building Power Unlimited)

Among them, it is highly recommended that the source of the mirror!

How to use:

Start the Android SDK Manager, open the main interface, select "tools", "options...", and eject the Android SDK manager–settings window;
In the Android SDK manager–settings window, fill in port"and 80 in the"http proxy server"and"http proxy mirrors.neusoft.edu.cn input boxes, and select "force https://. Sources to is fetched using http://..."check box. When the settings are complete, click the "close" button to close the Android SDK manager–settings window and return to the main interface;
Select "packages" and "reload" in turn.

As shown in the following illustration:

I hope this article will help you with the Android program.

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.