Android Studio improves SDK download speed

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)
insert image description here

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
insert image description here
insert image description here
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\hostsedit 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

insert image description here

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 Detailsthe option and select the required version to download.
insert image description here

Guess you like

Origin blog.csdn.net/EthanCo/article/details/131269005