You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After cloning the project, setting current java to version 18 and building it, I constantly get the error below. Any ideas what can cause it or what could be a solution for it?
*What went wrong:Execution failed for task ':shared:compileDebugKotlinAndroid'.
>'compileDebugJavaWithJavac' task (current target is1.8) and'compileDebugKotlinAndroid' task (current target is18) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
The text was updated successfully, but these errors were encountered:
Many thanks! I have just pushed un update.
I have specified Java 18 in the shared gradle file.
The desugaring is enabled so that also older Android devices can run the latest Java language feature.
After cloning the project, setting current java to version 18 and building it, I constantly get the error below. Any ideas what can cause it or what could be a solution for it?
The text was updated successfully, but these errors were encountered: