Error:(1, 0) Plugin with id 'com.android.application' not found
来源:互联网 发布:素描入门教程 知乎 编辑:程序博客网 时间:2024/06/06 02:16
1.遇到这错误:根本原因就是 再 工程目录下 的 build.gradle中没有添加(或没有找到)依赖包(application 包)
解决办法:方法1 。在项目(外层、根)目录的 build.gradle中添加 如下代码
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:0.12.+' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}
方法2:如何导入的项目中是否有 build.gradle文件。是否是导入项目时选错了目录。
个人产生这个错误的原因是:
在svn重新导入代码的时候,没有选择根目录同步,而是在 app:目录下同步的 导致并没有整个项目的 build.gradle文件。即我是因为第二种情况才导致这个错误。
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. 解决方案
- LSTM简介
- 对象流的写入和读出
- cpp——类——多重继承——构造函数 析构函数 赋值操作符函数
- 数据库-内连接与外连接的区别(举例说明)
- HashMap的遍历方法
- Error:(1, 0) Plugin with id 'com.android.application' not found
- arm地址线的链接方式
- 多校训练赛 Furude_Rika and wall 解题报告(dp)
- 在linux和Windows使用curl
- 为什么Linux的fdisk分区时第一块磁盘分区的First Sector是2048?
- HDU5486-Difference of Clustering
- 浅谈C++里的异常类
- Intellij Idea 解决File 工具栏中没有 Import Project
- 金蝶Bos的报表跟过滤条件