Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper....

导入高德地图demo,出现如下错误提示:

Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in C:\Users\Administrator\Desktop\android_studio\AMapLocationDemo\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip


提示的意思是当前Gradle 的版本是2.8,需要2.10,所以我们需要升级Gradle。AS有时候会有自动修复的提示,我这么直接当自动fix就帮我下载处理了,但是有时候犹豫墙的原因 修复不了  那我们就要手动修复了 下载gradle 后通过

选择下载好的gradle2.10版本即可


猜你喜欢

转载自blog.csdn.net/w6718189/article/details/52909091
今日推荐