When there is an Internet connection, and I click "check for update" in Android Studio, I get the message "Connection Failed"

I have a valid internet connection. I recently installed Android Studio from dev.android.com

Problem: When I click on check for updates, I get the message "Failed to connect: check the network connection and try again"

+6
source share
6 answers

Set "No proxy"

This seems to be a mistake.

I went to Preferences -> HTTP Proxy Set the "No Proxy" option to "Automatically detect proxy settings"

+9
source

add " -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 / "in studio.vmoptions. Then I can update Android Studio to version 0.2. ten

+3
source

Another trick is to download the patch from here

enter image description here

Similar to using the Help > Check for Update option.

+1
source

run android studio as administrator. which helps me in android studio whenever update / install occurs.

0
source

same problem, fixed reinstallation of Android Studio for all users !!!

0
source

I had this problem with Android Studio 2.3.2 on Mac.

After restarting the computer, it began to work.

(At first I tried to use the automatic proxy without success and later turned it off.)

0
source

All Articles