赞
踩
The specified Gradle distribution 'https://services.gradle.org/distributions/gradle-7.2.2-bin.zip' does not exist.
报错如上,介绍个绝对成功的办法,看了很多文章居然都没人提到,这里的意思就是这个地址访问失败,所以有两种解决方案,一种是换代理,一种是直接更换下载地址。这里介绍第二种方法,基本都能成功,先去找到下载页面,题主写时可用界面为Gradle Distributions
然后找到报错对应的包的地址,复制下来之后去文件下的gradlew.bat 将里面的地址更换即可。
#Thu Sep 15 23:50:47 SGT 2022 distributionBase=GRADLE_USER_HOME distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。