Skip to content

react-native-here-navigate:compileDebugKotlin FAILED #20

@JAisonsudha

Description

@JAisonsudha

PS E:\App\MapS> npx react-native run-android
info Installing the app...

Task :react-native-gesture-handler:compileDebugJavaWithJavac

Task :react-native-here-navigate:compileDebugKotlin FAILED

[Incubating] Problems report is available at: file:///E:/App/MapS/android/build/reports/problems/problems-report.html

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.14.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
65 actionable tasks: 11 executed, 54 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

Note: E:\App\MapS\node_modules\react-native-gesture-handler\android\paper\src\main\java\com\swmansion\gesturehandler\NativeRNGestureHandlerModuleSpec.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: file:///E:/App/MapS/node_modules/react-native-here-navigate/android/src/main/java/com/hereexplore/features/map/MapsExtensions.kt:20:33 Unresolved reference 'DISTANCE'.
e: file:///E:/App/MapS/node_modules/react-native-here-navigate/android/src/main/java/com/hereexplore/helpers/CoordinatesUtils.kt:33:44 Argument type mismatch: actual type is 'ReadableMap?', but 'ReadableMap' was expected.
e: file:///E:/App/MapS/node_modules/react-native-here-navigate/android/src/main/java/com/hereexplore/helpers/CoordinatesUtils.kt:50:38 Argument type mismatch: actual type is 'ReadableMap?', but 'ReadableMap' was expected.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-here-navigate:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

  • 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 40s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: E:\App\MapS\node_modules\react-native-gesture-handler\android\paper\src\main\java\com\swmansion\gesturehandler\NativeRNGestureHandlerModuleSpec.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. e: file:///E:/App/MapS/node_modules/react-native-here-navigate/android/src/main/java/com/hereexplore/features/map/MapsExtensions.kt:20:33 Unresolved reference 'DISTANCE'. e: file:///E:/App/MapS/node_modules/react-native-here-navigate/android/src/main/java/com/hereexplore/helpers/CoordinatesUtils.kt:33:44 Argument type mismatch: actual type is 'ReadableMap?', but 'ReadableMap' was expected. e: file:///E:/App/MapS/node_modules/react-native-here-navigate/android/src/main/java/com/hereexplore/helpers/CoordinatesUtils.kt:50:38 Argument type mismatch: actual type is 'ReadableMap?', but 'ReadableMap' was expected. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-here-navigate:compileDebugKotlin'. > A
failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details * 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 40s.
info Run CLI with --verbose flag for more details.
PS E:\App\MapS>

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