> Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in ******
需要更改Gradle版本配置 可以更改為本機已有版本
提醒設(shè)置完以后等待時間會比較長匣砖,耐心等待
出現(xiàn)以上問題的解決辦法2步: ??
1健田、去設(shè)置里Settings > Builds,Execution,Deployment > Build Tools > Gradle >Gradle homepath
?設(shè)置?default gradle wrapper
2稀蟋、在自已的項目中 找到 這個文件 路徑 ?YourProject/gradle/wrapper/gradle-wrapper.properties
用文本編輯器打開修改為
#distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
distributionUrl=https://services.gradle.org/distributions/gradle-2.10-all.zip