Join Slack
Powered by
<How to fix android Error : Inconsistent JVM-targe...
# stackoverflow
r
rss
09/24/2024, 5:21 PM
How to fix android Error : Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (11) and 'compileDebugKotlin' (17)
I am changing the targetSdkVersion and compileSdkVersion from 33 to 34. For that I changed my ddistributionUrl=
https://services.gradle.org/distributions/gradle-8.2-all.zip
. The project got synced successfully but when I am trying to build it it is giving me error : Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (11) and 'compileDebugKotlin' (17) I looked for various solutions where we should do sourceCompatibility JavaVersion.VERSION_17...
2
Views
Open in Slack
Previous
Next