Today I receive this error, while exactly same code was working an hour ago
Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enable
Android > Preferences... > Plugins
Check Kotlin version:
Then on the top-level build.gradle make sure that the version matches:
buildscript {
ext.kotlin_version = '1.2.71'
// ...
}
File -> Settings -> Plugins.
Then unselect red items, restart Android Studio, select "Android Support" and restart. This maybe work.