Error:(1, 0) Plugin with id 'com.android.application' not found
来源:互联网 发布:淘宝怎么提高销量排名 编辑:程序博客网 时间:2024/06/15 17:32
Error:(1, 0) Plugin with id ‘com.android.application’ not found
请看程序中module的build.gradle
apply plugin: 'com.android.application'android { compileSdkVersion 24 buildToolsVersion "24.0.2" sourceSets { main { jniLibs.srcDirs = ['libs'] } } defaultConfig { applicationId "com.***.application" minSdkVersion 18 targetSdkVersion 24 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }}dependencies { compile fileTree(dir: 'libs', include: ['*.jar'])}
然后编译的时候首行编译出错,Error:(1, 0) Plugin with id ‘com.android.application’ not found
解决方案
在build.gradle中增加代码片段
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3'//根据自己的gradle版本修改 }}allprojects { repositories { jcenter() }}
0 0
- 导入android studio 项目错误:Error:(1, 0) Plugin with id 'com.android.application' not found
- android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
- 解决android studio错误 --> Error:(1, 0) Plugin with id 'com.android.application' not found
- android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
- 解决android studio错误 --> Error:(1, 0) Plugin with id 'com.android.application' not found
- Android studio Error:(1, 0) Plugin with id 'com.Android.application' not found.Open File
- Android Studio报错Error:(1, 0) Plugin with id 'com.android.application' not found
- 导入android studio 项目错误:Error:(1, 0) Plugin with id 'com.android.application' not found
- android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
- 错误:android studio ---> Error:(1, 0) Plugin with id 'com.android.application' not found.
- android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
- 解决android studio错误 --> Error:(1, 0) Plugin with id 'com.android.application' not found
- 解决android studio错误 --> Error:(1, 0) Plugin with id 'com.android.application' not found
- Error:(1, 0) Plugin with id 'com.android.application' not found
- Error:(1, 0) Plugin with id 'com.android.application' not found.
- Error:(1, 0) Plugin with id 'com.android.application' not found
- Error:(1, 0) Plugin with id 'com.android.application' not found的解决方法
- Error:(1, 0) Plugin with id 'com.android.application' not found. 解决方案
- sql中去掉字段的空格或多余字符
- 通过DataGridView分段显示数据
- 隐藏文件
- 获取数据库中的数据变化情况
- CarPlay wired(USB)连接方案
- Error:(1, 0) Plugin with id 'com.android.application' not found
- HTML5--Audio(音频)
- MFC 向指定窗口发送自定义消息
- mysq字段类型转换
- 365. Water and Jug Problem
- 性能优化之解析:fastJson快速解析大数据json
- RESTful API 设计指南
- win10QC问题汇总
- 开发触屏一体机时,遇到的问题以及解决方法