flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath

We Are Going To Discuss About flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath. So lets Start this Android Article.

flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath

How to solve flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath

In app/build.gradle change jdk7 to Java jdk8
before
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" }
after
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" }

flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath

In app/build.gradle change jdk7 to Java jdk8
before
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" }
after
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" }

Solution 1

In app/build.gradle change jdk7 to Java jdk8

before

dependencies {
 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

after

dependencies {
 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}

Original Author 51v4 Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment