* 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内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复