New Gradle Sync is not supported due to containing Kotlin modules using an unsupported plugin version

前端 未结 8 1886
遇见更好的自我
遇见更好的自我 2021-02-02 04:56

I\'m using android studio 3.4.1 and my Kotlin version is 1.3.31. I have a flutter app. When trying to add cloud_firestore to my app I have the followin

8条回答
  •  心在旅途
    2021-02-02 05:40

    For Mac(Catalina) Users

    Select Android Studio (This is hidden, move your cursor to the top of the screen to reveal this option)

    Then,

    Preferences -> Kotlin Compiler -> Target JVM Version

    now modify the respective java version, I changed Target JVM version from 1.6 to 1.8 to make it work.

    Shortcut to open Preferences in Android Studio is Cmd + ,

提交回复
热议问题