在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”這個文件。
注意如果還是失敗.報這個錯誤Connection failed (Server returned HTTP response code: 502 for URL:
記得把http後面加上s