Skip to content Skip to sidebar Skip to footer

Gradle Behind Proxy In Android Studio 1.3

I've just upgraded Android Studio to version built on 28 July 2015. And proxy settings stopped working. I have them configured in AS preferences and in project's gradle.properties

Solution 1:

Perhaps you also need to configure the https settings

systemProp.https.proxyHost=www.somehost.org
systemProp.https.proxyPort=8080systemProp.https.proxyUser=userid
systemProp.https.proxyPassword=password
systemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost

Solution 2:

After finding an answer for days...

As Lance said, you need to set in the gradle.properties settings for https (I write details here for further visitors)

systemProp.https.proxyHost=some.proxy.adress.com
systemProp.https.proxyPort=3128

At the end, your gradle.properties file (on the root of the project) will be :

systemProp.http.proxyHost=some.proxy.adress.com
systemProp.http.proxyPort=3128systemProp.https.proxyHost=some.proxy.adress.com
systemProp.https.proxyPort=3128

Post a Comment for "Gradle Behind Proxy In Android Studio 1.3"