Skip to main content
PESDK/Flutter

JVM target compatibility ERROR what to do?

Should you encounter the error 'compileDebugJavaWithJavac' task (current target is 1.8) and 'kspDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.', include ' kotlin { jvmToolchain(8) } ' in your App's 'build.gradle', it error occur with some kotlin versions.