Failed to apply plugin [id 'com.android.application']
来源:互联网 发布:jq删除数组中指定元素 编辑:程序博客网 时间:2024/05/16 00:39
Gradle版本2.14,编译报如下错误:
【问题原因】:gradle.build配置项dependencies中,依赖的gradle编译工具版本过高,如下:
dependencies { classpath 'com.android.tools.build:gradle:2.2.0' }2.2.0需要2.14.1以上的gradle版本支持。
【解决方法】:将dependencies改为:
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
0 0
- failed to apply plugin [id 'com.android.application']
- failed to apply plugin [id 'com.android.application']
- Failed to apply plugin [id 'com.android.application']
- Failed to apply plugin [id 'com.github.dcendents.android-maven']
- Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradl
- Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradl
- error: apply plugin: 'com.android.application' failed
- Error:(1, 1) A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android
- Error:(1, 1) A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android
- 从github上下载开源项目 failed to apply plugin[id 'com.github.dcendents.android-maven']
- 有时候下载开源项目 如果用了autolayout 就会遇到failed to apply plugin[id 'com.github.dcendents.android-maven']
- AndroidStudio遇到Gradle sync failed: Plugin with id 'com.android.application' not found.
- android 错误 Plugin with id 'com.android.application' not found.
- Android-- Plugin with id 'com.android.application' not found
- Plugin with id 'com.android.application' not found
- Plugin with id 'com.android.application' not found
- Plugin with id 'com.android.application' not found.
- (Plugin with id com.android.application not found)问题解决
- JQuery实现全选、全不选和反选功能
- runtime系列(二) method swizzling 与AOP编程
- Java关键字之synchronized
- wordpress笔记
- Oracle表空间操作/用户权限/导入导出
- Failed to apply plugin [id 'com.android.application']
- java compiler level does not match the version of the installed Java project facet 解决方法
- netstat 统计网络连接数
- JavaScript parseInt() &parseFloat & toFixed函数
- Hadoop Snappy安装终极教程
- bootstrap-多层模态框滚动条消失问题
- aapt
- android与js交互的方式(包括三种)
- UIScrollView 的基本使用