This is, unfortunately, not a duplicate of Error:(1, 0) Plugin with id 'com.android.application' not found - solutions from there don't help me.
The problem occurred today after updating Android Studio when it said I should update Gradle to 2.14. I clicked "OK" and now my project is somehow broken. The error I get is in the title.
This is my root build.gradle
:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
}
}
allprojects {
repositories {
jcenter()
}
}
And this is the first line in the project build.gradle
:
apply plugin: 'com.android.model.application'
If I change it to
apply plugin: 'com.android.application'
I get an error
Error:Cause: buildToolsVersion is not specified.