Runtime JAR files in the classpath should have the same version

If you have an issue like this
get the following warning, but I'm not sure where v1.0.6 resides.
Is it possible this error comes from a Kotlin library somehow including an old Kotlin version?

Use kotlin latest version 1.6.20 (the latest when I'm writing this post)

replace this
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.30'
with
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.30'

and also the gradle version for
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

No comments:

Powered by Blogger.