Gradle下载超时

1.先去官网下载所需的gradle版本,https://services.gradle.org/distributions/

2.下载后解压到C:\Users\用户\.gradle\wrapper\dists文件夹

3.将压缩包也放到该文件夹中

 4.重启IDE