解决Android Studio 无法在线更新的问题

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

修改安装目录下bin\studio.exe.vmoptions文件,如E:\Android\android-studio\bin\studio.exe.vmoptions

添加内容:

-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位系统,那就应该修改bin\studio64.exe.vmoptions文件,大家别改错了,不然没用!

重新启动..就可以在线更新了.

猜你喜欢

转载自fxiaozj.iteye.com/blog/2095187