Solve the problem of Android studio connection dl.google.com timeout

The error is as follows

android Connect to dl.google.com:443 [dl.google.com/142.251.32.46] failed: Connectio

Cause of the problem:
DNS did not resolve to the IP of the domain name dl.google.com or an error occurred during the resolution process.

Solution:
1. Baidu has an IP query website ( ip query checks ip website ip query is the same as ip website query ip reverse check domain name iP check domain name is the same as ip domain name ), enter the domain name dl.google.com, and find the corresponding IP

 

2. Find the first few pings to see if they are available, we choose the first one here

3. Find the hosts file of the computer, C:\Windows\System32\drivers\etc\hosts and
write the domain name and corresponding IP into the file.

Guess you like

Origin blog.csdn.net/mawei7510/article/details/127807887