今天开发过程中出现如下异常

Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.Consult IDE log for more details (Help | Show Log)

Gradle sync failed 异常

 允许Android Studio可以通过防火墙通信

Gradle sync failed 异常

再同步一次就行

相关文章: