当前位置:   article > 正文

flutter出现kotlin版本问题解决办法_the binary version of its metadata is 1.9.0, expec

the binary version of its metadata is 1.9.0, expected version is 1.7.1.

.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里一致

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/787315
推荐阅读
相关标签
  

闽ICP备14008679号