当前位置:   article > 正文

【Flutter】The binary version of its metadata is 1.8.0, expected version is 1.6.0.

the binary version of its metadata is 1.8.0, expected version is 1.6.0.

问题描述

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
  • 1

在这里插入图片描述


原因分析:

The binary version of its metadata is 1.8.0, expected version is 1.6.0.
jetified-kotlin-stdlib-1.8.22.jar这两个就是关键信息;需要将kotlin的版本升级到1.8.22或以上都可以。


解决方案:

build.gradle (android)里修改kotlin的版本为1.8.22,然后Sync Now。

ext.kotlin_version = '1.8.22'

在这里插入图片描述

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

闽ICP备14008679号