android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found. 解决
主要是缺少 gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
将2.3.2 换成你的 gradle,如果你不知道你的是多少,新建一个项目,打开 build.gradle 看