Home > Mobile >  Timed out, the connect.
Timed out, the connect.

Time:01-10

Error: timed out: connect. If you are behind an HTTP proxy, both please configure the proxy Settings either in the IDE or Gradle.

Baidu, a lot of methods but still not solve, including the use of ali cloud images and download gradle package

CodePudding user response:

Two places need to configure the
1 set configuration network options, the IDE in additional proxy information (proxy server, port, user name, password)
2 in user_home/. Gradle/gradle. The properties file add the following content
SystemProp, HTTP proxyHost=XXX
SystemProp. HTTP. ProxyPort=8080
SystemProp. HTTP. ProxyUser=* * * *
SystemProp. HTTP. ProxyPassword=* * * *
SystemProp. HTTPS. ProxyHost=XXX
SystemProp. HTTPS. ProxyPort=8080
SystemProp. HTTPS. ProxyUser=* * * *
SystemProp. HTTPS. ProxyPassword=* * * *

  • Related