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.