Android studio 更新时,提示网络问题

Connection failed. Please check your network connection and try again

在默认的studio64.exe.vmoptions(64bit系统) 文件或studio.exe.vmoptions(32bit系统) 增加配置如下:

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

 

第一句IPV4的可加可不加, 文件默认的配置中已包含,重点在下面两句。

然后选择 help--> check for update  出现如下提示,点击 Update and Restart进行升级

Android studio无法更新 提示网络连接失败

相关文章:

  • 2021-05-01
  • 2021-06-18
  • 2021-05-19
  • 2022-12-23
  • 2022-01-24
  • 2021-07-25
猜你喜欢
  • 2021-06-09
  • 2022-12-23
  • 2022-02-24
  • 2021-12-23
  • 2021-09-12
  • 2022-01-17
  • 2021-12-17
相关资源
相似解决方案