Android studio 报错The binary version of its metadata is 1.6.0, expected version is 1.4.1

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

1、最开始看大家都是说更新kotlin版本到最新的:

        

 更新到最新的1.6.10,rebuild无用;

2、还有一个方案说把kotlin插件 在plugin中进行disabled,点击之后重启,完蛋了,需要重新安装才行,最后重新安装了;

3、把kotlin插件更新成1.6.10版本

Android studio 报错The binary version of its metadata is 1.6.0, expected version is 1.4.1_第1张图片

更新之后,rebuild任然没用,最后是查看报错之前增加在项目的build.gradle中的依赖;

Android studio 报错The binary version of its metadata is 1.6.0, expected version is 1.4.1_第2张图片 

发现多依赖了;注释掉之后就好了;

记录一下! 

你可能感兴趣的:(kotlin,开发语言,android)