.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
在android的settings.gradle下
plugins {
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
}
"id "org.jetbrains.kotlin.android" version "1.9.10" apply false"
对应版本要与build.gradle里一致