Module was compiled with an incompatible version of Kotlin.The binary version of its metadata is....

编程入门 行业动态 更新时间:2024-10-04 21:16:40

Module was compiled with an <a href=https://www.elefans.com/category/jswz/34/1768465.html style=incompatible version of Kotlin.The binary version of its metadata is...."/>

Module was compiled with an incompatible version of Kotlin.The binary version of its metadata is....

解决Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.的问题。

出现此问题是因为kotlin的版本不一致,下载的版本可以从提示的错误信息中定位到下载kotlin的位置,打开后可以找到很多版本,结合错误信息说:元数据是1.7.1,但是期待的版本是1.5.1,所以需要更改期待的版本改成现有的版本即可。
在项目下(外面那个)的build.gradle中,可以看到指定的kotlin版本为1.5.几,所以需要更改期待的版本
将这个版本改成上面图中有的1.7.10版本即可。也就是放开上面那个注释,重新编译,就可以解决此问题。

更多推荐

Module was compiled with an incompatible version of Kotlin.The binary version of

本文发布于:2024-02-28 07:01:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1768358.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:incompatible   compiled   Module   version   metadata

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!