after run flutter, console show this error:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':disk_space_plus:compileDebugKotlin'.
Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
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.
BUILD FAILED in 1m 16s
Error: Gradle task assembleDebug failed with exit code 1
any help ?
after run flutter, console show this error:
FAILURE: Build failed with an exception.
Execution failed for task ':disk_space_plus:compileDebugKotlin'.
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
BUILD FAILED in 1m 16s
Error: Gradle task assembleDebug failed with exit code 1
any help ?