升級時提示 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 SDK Manager列表錯誤,或者無法更新下載的問題:
添加內容:
C:\Windows\System32\drivers\etc
74.125.237.1 dl-ssl.google.com