最近Android Studio版本從1.0.1更新到了1.1.0了??墒屈c擊help → check for update...報錯如下。

電腦本來翻墻是沒問題的,SDK也可以正常更新。
解決方法:
對于64位的操作系統(tǒng)來說,更改安裝目錄bin\studio64.exe.vmoptions文件,如G:\Program Files\Android\Android Studio\bin\studio64.exe.vmoptions
添加如下內(nèi)容:
-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/
然后重新啟動就可以在線更新了。

更新成功后查看版本:

更新成功。