Android Studio Gradle Build Error: Read Time Out

后端 未结 12 1705
太阳男子
太阳男子 2020-12-03 03:22

I have the latest Android Studio IDE installed on my Windows 10 laptop, and it was working fine until my windows operating system made a huge automatic update.

Now,

12条回答
  •  醉酒成梦
    2020-12-03 03:29

    Use the following code in gradle.properties :

    systemProp.http.proxyHost=www.somehost.org
    systemProp.http.proxyPort=8080
    systemProp.http.proxyUser=userid
    systemProp.http.proxyPassword=password
    systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
    org.gradle.daemon=false
    

提交回复
热议问题