概述
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Gradle version 2.10 is required. Current version is 4.4. If using the gradle wrapper, try editing the distributionUrl in D:android2018201806 622EmolEmolgradlewrappergradle-wrapper.properties to gradle-2.10-all.zip
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
解决办法:
在工程项目下/gradle/gradle-wrapper.properties
在红箭头所指的地方改成和你自己所需要的版本就不会报错报错了
最后
以上就是阳光高跟鞋为你收集整理的Failed to apply plugin [id 'com.android.application']的全部内容,希望文章能够帮你解决Failed to apply plugin [id 'com.android.application']所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复