android studio升级时提示 Connection failed. Please check your network connection and try again

原文地址 http://www.eyeapk.com/android-studio-update.html

 

Mac OSX中修改文件路径为 bin/idea.vmoptions ,添加如下内容,如果无效修改http为https试试看

 

-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/

如果仍然无效,可以修改http为https试试看,然后重启点击check update

转载于:https://www.cnblogs.com/niray/p/4251301.html

你可能感兴趣的:(android studio升级时提示 Connection failed. Please check your network connection and try again)