1. 程式人生 > >Window7下面Gradle設定代理

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