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

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

    Update Kotlin Plugin

    I could be that your IDE has an older level of the Kotlin plugin.

    Within Android Studio, got to File > Settings... > Kotlin and check to make sure your plugin is up to date. You may see something like this, indicating you need to update:

    Also, if you run into memory issues, you may need to add org.gradle.jvmargs=-Xms1024m -Xmx4096m to the gradle.properties file.

提交回复
热议问题