When we download the Android SDK, there are often errors such as download failures and
reports . How to speed up the download speed of the SDK? We can achieve it by modifyingandroid sdk manager not installing components
Host
Turn off Android Studio's proxy
First, we have to turn off the proxy of Android Studio (if it is set)
find the fastest node
Using the website http://ping.chinaz.com/ can help us find the fastest node to access the target website.
The domain name downloaded by google is dl.google.com, so we search for this domain name and
sort it according to the response time, we can see , the fastest node access in Shanghai
Configure the fastest IP into the hosts file
Next, we C:\Windows\System32\drivers\etc\hosts
edit and
configure the IP and domain name in the file
Other systems
Linux system:/etc/hosts
Mac (Apple Computer) system:/etc/hosts
Android (Android) system:/system/etc/hosts
iPhone (iOS) system:/etc/hosts
Make SDK download
Finally, we can happily go to the Android SDK
That's it
If we want to download the corresponding version of the SDK, we can check Show Package Details
the option and select the required version to download.