解决“Module was compiled with an incompatible version of Kotlin.”问题

·

1 min read

如果在最外层的build.gradle中,存在如下内容(expected_version为报错信息中的版本):

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:expected_version"

那么,把expected_version改为binary_versionbinary_version存在于报错信息中)即可