Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure

这个问题,androidstudio遇到好几次,每次莫名奇妙的解决,然后找半天,今天看到一个好方法和大家说一下



就是直接把Android studio在window设置成白名单,在StackOverflow看到的,挺有用的


Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure


Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure第一次写,语言组织不好大家见谅。