更新时间:2023-02-03 21:11:03
在Android的工作室 - > preferences - >摇篮,通过代理细节VM选项
In Android Studio -> Preferences -> Gradle, pass the proxy details as VM options.
摇篮VM选项
-Dhttp.proxyHost = www.somehost.org -Dhttp.proxyPort = 8080
等。
*在0.8.6 Beta版摇篮是在文件 - >设置(CTRL + ALT + S,在Windows上)
*In 0.8.6 Beta Gradle is under File->Settings (Ctrl+Alt+S, on windows)