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

posted @ 2015-01-26 20:38  n1rAy  阅读(1020)  评论(0编辑  收藏  举报