What went wrong:
Execution failed for task ':image_gallery_saver:compileDebugKotlin'.
'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
2
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 1m 33s
Exception: Gradle task assembleDebug failed with exit code 1
What went wrong: Execution failed for task ':image_gallery_saver:compileDebugKotlin'.
Try:
BUILD FAILED in 1m 33s Exception: Gradle task assembleDebug failed with exit code 1