If you are on Windows check
C:\Users\YOUR_USER\.gradle\wrapper\dists
whether the gradle
1.10-all is installed there or not inside the directory.
Android Studio downloads the whole distribution first time which is around 60 MB so it takes some time.
Check the distributionUrl in gradle/gradle-wrapper.properties and match the same in your dist directory if it is not available studio will download it. Distribution url will look like :
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
change it to whatever already installed will solve the problem.
Note : The directory name in dist and Zip name must same. Directory will be created while trying to download check whether the Zip is installed properly or not.
本文指导如何检查并解决Gradle 1.10版本的安装问题,包括验证安装目录是否正确,以及如何匹配distributionUrl设置。
1002

被折叠的 条评论
为什么被折叠?



