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

来源:互联网 发布:大数据专业的现状分析 编辑:程序博客网 时间:2024/04/30 04:13

在Android Studio目录下 修改文件路径为 bin/idea.vmoptions 或者 studio64.exe.vmoptions ,添加如下内容,如果无效修改http为https试试看



<pre name="code" class="html" style="font-size: 14px; line-height: 26px;">-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/  


重启

如果仍然无效,可以修改 http 为 https 试试看,然后重启点击 check update


原文地址 http://www.eyeapk.com/android-studio-update.html

0 0