Today I receive this error, while exactly same code was working an hour ago
Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enable
Taking pointers from this answer - https://stackoverflow.com/a/49972566/7599300, I got rid by doing following steps:
File -> Settings -> Plugins
Unselect and select again red marked plugins.
Click Apply and then OK.
Android Studio will prompt to Restart, just Restart it.
If you find this error when try to start findbugs.
Do as : Settings - FindBugs-IDEA - General : Uncheck the “Compile affected files before analyze” and “Analyze affected files after compile”
I also encountered this problem. My Kotlin plugin was already up to date, so I knew that this wasn't going to be the problem. I ended up fixing it by following these steps:
Click the "Edit" button next to the Android SDK location path
Follow the wizard.
Android Studio will now download missing or outdated SDK components.
After following the steps above I could successfully build my project again. I still have no idea why this problem suddenly arose though.
Recently I also faced same issue,
Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true
I solved this issue by simply updating the kotlin plugin and now it is working fine.
FYI: I removed the Kotlin directory from ~/Library/Application Support/AndroidStudio3.1, cleaned and built and everything worked fine. After putting the Kotlin directory back, cleaning and rebuilding, the same error resurfaced.
I solved this issue in a working project.
Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true
doing the following: