android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
2017-05-13 11:42
591 查看
如果出现如上错误,只需要在build.gradle中添加下面代码即可: buildscript{ repositories{ jcenter() } dependencies{ classpath 'com.android.tools.build:gradle:1.5.0' } } allprojects{ repositories{ jcenter() } } 之前状态:android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.atguigu.myasynctask" minSdkVersion 14 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.2.1' }
相关文章推荐
- android 编译错误 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
- 解决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
- 尴尬,AS导入网络下载的demo不会打开运行+++Plugin with id 'com.android.application' not found错误解决
- 关于导入moudle遇到的错误Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- 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:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(1, 0) Plugin with id 'com.android.application' not found
- Plugin with id 'com.android.application' not found 问题解决方法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' 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