Bootstrap

Android Studio sync gradle失败的问题

错误提示:

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-6.7.1-all.zip'. Reason: java.net.SocketException: Connection reset

解决方案:

gradle-wrapper.properties 添加一下内容:

distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.7.1-all.zip
;