Skip to content

Execution failed for task ':react-native-navigation:compileReactNative71DebugKotlin'. #7819

Closed
@ha-nguyen-enosta

Description

@ha-nguyen-enosta

What happened?

Execution failed for task ':react-native-navigation:compileReactNative71DebugKotlin'.

'compileReactNative71DebugJavaWithJavac' task (current target is 17) and 'compileReactNative71DebugKotlin' task (current target is 1.8) 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1m 11s
619 actionable tasks: 619 executed

What was the expected behaviour?

...

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

...

In what environment did this happen?

React Native Navigation version: 7.37.2
React Native version: 0.73.0
Node version: v20.3.0
Device model: Pixel
Android version: 14

### Tasks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions