Starting with version 1.3, Android Studio no longer Support IDE-specific Gradle JVM arguments. Android Studio will remove any stored Grandle JVM arguments.我的是..
Would you like to copy these JVM arguments: -Dhttp.proxyHost=192.168.147.123 -Dhttp.proxyPort=3128 to the project's gradle.properties file?選 Yes.
結果sync 一樣fail, 說 gradle 找不到 route
打開 gradle.properties 來看,多了:
org.gradle.jvmargs=-Dhttp.proxyHost\=192.168.147.123 -Dhttp.proxyPort\=3128ref: https://docs.gradle.org/current/userguide/build_environment.html#N11961
改成:
systemProp.http.proxyHost=192.168.147.123 systemProp.http.proxyPort=3128 systemProp.https.proxyHost=192.168.147.123 systemProp.https.proxyPort=3128就 OK了。
沒有留言:
張貼留言