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

一次一个项目里遇到了启动编译前就报错:Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.13.

大概意思:模块是用不兼容的Kotlin版本编译的。

但是从来没有遇到过问题,网上也没有找到类似的解决方案。

后来尝试了挺多方式,还是通过重启了这个插件:

Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its_第1张图片

可以取消掉再勾选上,项目再重启就能解决。或者对这个插件进行更新就不会出现问题

你可能感兴趣的:(idea)