升级时提示 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文件,大家别改错了,不然没用!
本文详细介绍了如何解决在使用Android Studio进行升级时遇到的'Connection failed'错误,通过修改binstudio.exe.vmoptions或binstudio64.exe.vmoptions文件,并添加特定配置来解决网络连接问题,从而实现在线更新。
1万+

被折叠的 条评论
为什么被折叠?



