Hi all, I'm facing this error during the build of ...
# gradle
a
Hi all, I'm facing this error during the build of an Android app: Execution failed for task 'module securitycompileDebugKotlin'.
'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain Any idea on what I'm doing wrong? I'm configuring for all the gradle-modules the java version to 17 Thanks
v
What AGP version do you use?
a
Copy code
8.3.0-alpha17
v
And you set the JVM toolchain? or how do you "configuring the java version to 17"?
a
I was only configuring the java version, now configuring the toolchaing is building something 🙂
👌 1
Thank you for the support @Vampire
👌 1
144 Views