[android] Android Studio - Failed to apply plugin [id 'com.android.application']

you just need to change your project.gradle file. And sync your Gradle.

dependencies {
 classpath 'com.android.tools.build:gradle:2.2.2'
}