Android studio检测更新问题connection failed

时间:2026-02-13 17:18:29

1、进入“C:\Windows\System32\drivers\etc”,用记事本打开HOST文件

Android studio检测更新问题connection failed

2、删掉之前为了要让sdk更新的蓝色背景文字,保存

Android studio检测更新问题connection failed

3、接着,打开android studio 工程安装目录下的 bin 目录,用笔记本打开studio64.exe.vmoptions(或者studio.exe.vmoptions)

Android studio检测更新问题connection failed

4、加上文字:

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

修改后保存

Android studio检测更新问题connection failed

5、再点“check now”,就可以检测最新的版本了

Android studio检测更新问题connection failed

Android studio检测更新问题connection failed

© 2026 途途旅游
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com