Skip to content

No java version specified in build.gralde #29

@yoer

Description

@yoer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions