Android Studio:Connection failed. Please check your network connection and try again

提示信息:Connection failed. Please check your network connection and try again


找到Android Studio 安装目录下的bin\studio.exe.vmoptions 文件用编辑器打开,记事本,Notepad++或者UltraEdit都行
文件末尾添加:
-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/


 64位系统修改studio64.exe.vmoptions文件


 重新启动Android Studio


你可能感兴趣的:(Android Studio:Connection failed. Please check your network connection and try again)