Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.16.
时间: 2023-09-21 19:03:06 浏览: 284
This error message indicates that the module was compiled using a newer version of Kotlin than the one expected by the current environment. To resolve this issue, you can either update your Kotlin environment to the required version or recompile the module using a compatible version of Kotlin.
If you're using a build tool like Gradle or Maven, you can specify the Kotlin version in your build configuration file. For example, in Gradle, you can add the following line to your build.gradle file:
```
kotlin {
version = "1.1.16"
}
```
If you're using an IDE like IntelliJ IDEA, you can check the Kotlin version used by your project in the project settings. You can also update the Kotlin plugin to the latest version to ensure compatibility with the module.
Once you've resolved the version mismatch, you should be able to use the module without any issues.
阅读全文