Environment : Android Studio 2.1
Project : Android SDK + Cordova
Android Studio throws the following error during Gradle Sync :
Gradle sync failed: 'com.android.build.gradle.BasePlugin' does not implement the Plugin interface
Environment : Android Studio 2.1
Project : Android SDK + Cordova
Android Studio throws the following error during Gradle Sync :
Gradle sync failed: 'com.android.build.gradle.BasePlugin' does not implement the Plugin interface
Faced the same issue after upgrading to android studio 2.1 from 1.5
Managed to resolve by updating the dependencies version if the gradle.gradleVersion >= 2.1 in the build.gradle file under buildscript {}
OLD Configuration
Updated Configuration
If you do not have if/else clause in your build.gradle you can update the dependencies directly as below,