Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
WDevaloper opened this issue Aug 14, 2023 · 4 comments

Comments

@WDevaloper
Copy link

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

@angcyo
Copy link
Owner

angcyo commented Aug 14, 2023

you need update kotlin to

gradle 8+

plugins {
  ...
  id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
  ...
}

gradle 8-

buildscript {
    dependencies {
        ...
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0"
        ...
    }
}

@WDevaloper
Copy link
Author

没有别的办法吗?1.8.0需要升级 The 'kotlin-android-extensions' Gradle plugin is no longer supported

@angcyo
Copy link
Owner

angcyo commented Aug 14, 2023

复制源码到项目中.

@XiaoRanLiu3119
Copy link

我kt-gradle-plugin1.5.31,本地导module, ktx降到1.3.1完美运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants