Tag Archives: gradle

Android Studio 1.4, Gradle, and bloody proxies.

Today, children, we’ll be buggering about with Android studio 1.4. AND we’ll be swearing a lot. Why will we be swearing a lot? because it means we have to play with gradle, from behind our corporate firewall. when you install Android Studio, you have to set it up to play with your proxy. you do this here:

image

 

but gradle doesn’t pick them up from here. Gradle needs them in the gradle.properties file in your project:

image

and save, and restart android studio…

or you can alter this file here:

image

oh, and don’t be trying to do this:

systemProp.http.proxyUser=Domain\User

it will error. you need to escape your slash like so:

systemProp.http.proxyUser=Domain\\User

 

for the avoidance of doubt – you need “\\” not “\”.