Android Studio upgrade prompt Connection failed. Please check your network..., androidfailed
Android Studio upgrade
Android Studio has a stable version. When you click Check update, Connection failed. Please check your network... is always displayed.
Later, I read a similar article on the Internet. Here I will summarize the failure prompt "Connection failed. Please check your network..." to help you solve the problem.
I found that the solution to this problem on the internet is similar. This article describes how to solve the problem in the windows system, as follows:
In the Android Studio installation directory"
/Bin/studio.exe. vmoptions"File to append the following lines:
-Djava.net.preferIPv4Stack=true-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml-Didea.patches.url=http://dl.google.com/android/studio/patches/
Note that the 64-bit system should modify the"/Bin/studio64.exe. vmoptionsThis file is modified according to the number of digits in the system.
Note: If the update still fails, you can change http to https here. Restart and click Check.
If the update is not available, you can try the following operations after debugging:
1. click Configuration
Ii. Settings
3. Change different update channels. There are four channels. Click Check Now. (Check Now multiple times after selecting a channel)
OK! Click Update and Restart.
Note:Some file conflicts are prompted here. allow.
Reprinted to indicate the source.