Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No java version specified in build.gralde #29

Open
yoer opened this issue Dec 19, 2024 · 0 comments
Open

No java version specified in build.gralde #29

yoer opened this issue Dec 19, 2024 · 0 comments

Comments

@yoer
Copy link

yoer commented Dec 19, 2024

Launching lib/main.dart on RMX3511 in debug mode...
Running Gradle task 'assembleDebug'...
[ZEGO][PLUGIN] Download native dependency
[ZEGO][PLUGIN] Native version: 3.18.1.42106
[ZEGO][PLUGIN] The specified version SDK already exists!

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_dtmf: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

  • 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 10s
Error: Gradle task assembleDebug failed with exit code 1

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant