Today I receive this error, while exactly same code was working an hour ago
Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enable
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.