Gradle dependencies behind proxy


(Reji Ittiachan) #1

Hi guys,

I am trying to install Android Studio on mac and unfortunately I am behind the office proxy. My gradle resolving dependencies are getting stuck due to this.

10:42:05.961 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {tls}->http://172.19.1.10:8080->https://jcenter.bintray.com:443
10:42:05.965 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to /172.19.1.10:8080

This is the message after its getting stuck.

Please help.

Thanks in advance.


(Tim Preston) #2

Section 12.3 of the User Guide has what you’re looking for: https://docs.gradle.org/current/userguide/build_environment.html

Tim


(Reji Ittiachan) #3

Thank you Tim for your suggestion. But I have tried all these fixes without
success.

<
https://ci5.googleusercontent.com/proxy/yEZAjoB3_PGCxwwlR9kaD9tG_CDkOymIYaveleTEh1dgp9pQKOfB9sGXz1kcJCJ9_9wh8baA6sJwIvFVJ36KlPxlrofhtPPfPbEBnDPvq2Y64g8tFqh2xs4Ieu-ypvCjWe3PytNYU-EBOu2C62vEPRtJ8WD804drZQ=s0-d-e1-ft#https://discourse-cdn-sjc1.com/gradle/user_avatar/discuss.gradle.org/prestontim/45/4354_1.png>
prestontim Tim Preston
December 7

Section 12.3 of the User Guide has what you’re looking for:
https://docs.gradle.org/current/userguide/build_environment.html