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

前端 未结 8 1802
遇见更好的自我
遇见更好的自我 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:36

    First Check your JVM version

    1. Open Window

    2. Go to Java from Programs

    3. Open 'About Java' and this will show you the version of your JVM

    Now Update JVM version in your Android Studio

    1. File -> Settings.. -> Kotlin Compiler
    2. Go to 'Target JVM Version'
    3. Select the version that your JVM have.

    That's it. Your studio will build again automatically..

提交回复
热议问题