您的位置:首页 > 移动开发 > Android开发

Android Studio如果老需要下载Grable下载怎么办?

2014-12-08 09:49 351 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐