Open maxdiable opened 4 months ago
in app/build.gradle make sure to use same jvm version for both
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
my console show this error: FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':flutter_kronos:compileDebugKotlin'.
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 12s Error: Gradle task assembleDebug failed with exit code 1