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

07-09 1150阅读

问题描述

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.

【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.

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'

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

VPS购买请点击我

文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

目录[+]