解决android studio错误 --> Error:(1, 0) Plugin with id 'com.android.application' not found
来源:互联网 发布:java web页面打印功能 编辑:程序博客网 时间:2024/06/03 15:57
Error:(1, 0) Plugin with id 'com.android.application' not found.Open File
这个错误是build.gradle造成的,我们打开文件
打开报错的项目的build.gradle,看看有没有buildscript{}(应该是没有的,因为就是没有这个东西才报错的
buildscript {
repositories {
mavenCentral() // or jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0' //last version Jan 2016
}
}
把这个粘贴进去,点同步,错误应该消失了,
效果如图:
就是这样子了,这项目有点不一样,我是import进去的,在gradle配置里面的,一般情况下是没有红色框框上面的配置的。
问题顺利解决了。
问题归根揭底是
你可以看看报错前和解决后的这个视图有什么变化,嘻嘻
打开上面的project structure,请点
-------------------------------------------------------------------------------
我有一个问题就是junit报错,找不到文件
testCompile 'junit:junit:4.12'
知道答案的告诉我一声,我现在是去掉了这一句,因为是测试相关的我就没去纠结,我自己建的项目没有报错,就是这个导入项目的project报错而已
9 0
- 解决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
- 导入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 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
- 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 编译错误 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.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 错误 Plugin with id 'com.android.application' not found.
- plugin with id com.android.application not found 错误
- 模糊数的C++实现
- 《我怎样毁了我的一生》
- 解决找不到sun.misc.BASE64Encoder 的jar包问题
- 画线算法 中点画线 Bresenham DDA
- KMP算法的前缀next数组最通俗的解释,如果看不懂我也没辙了
- 解决android studio错误 --> Error:(1, 0) Plugin with id 'com.android.application' not found
- HTML5 - Canvas标签<使用>
- CentOS图形配置网络
- 最大子列和问题
- 第四周项目一-求两个数的最大公约数
- 第39讲项目4——回文数
- android:gravity与android:layout_gravity的区别
- Mysql中常见索引操作
- java - 增强for循环 - 自动装箱/拆箱 - 可变参数 - 静态导入