Window7下面Gradle设置代理

Hello
I'm using Android Studio 0.3.2
I was resolved by the following steps:

create gradle.properties under C:\Users\username\.gradle
gradle.properties example

systemProp.http.proxyHost=proxy.hoge
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=username
systemProp.http.proxyPassword=password
systemProp.https.proxyHost=proxy.hoge
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=username
systemProp.https.proxyPassword=password

你可能感兴趣的:(Window7下面Gradle设置代理)