Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true

前端 未结 8 1418
逝去的感伤
逝去的感伤 2021-02-02 09:36

Today I receive this error, while exactly same code was working an hour ago

Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enable

相关标签:
8条回答
  • 2021-02-02 10:30

    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'
        // ...
    }
    
    0 讨论(0)
  • 2021-02-02 10:32

    File -> Settings -> Plugins.

    Then unselect red items, restart Android Studio, select "Android Support" and restart. This maybe work.

    0 讨论(0)
提交回复
热议问题