Skip to content

Execution failed for task 'RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJar'. #158

@mchewry

Description

@mchewry

during build we get the following error. Can't seem to track down what is causing it.

version:

"react-native": "0.74.6",
"react-native-send-intent": "^1.3.0",
> Task :RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJars FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJars' (type 'LibraryJniLibsTask').
  - Gradle detected a problem with the following location: '/Users/.../project/node_modules/react-native-send-intent/android/build/intermediates/stripped_native_libs/release/out'.
    
    Reason: Task ':RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJars' uses this output of task ':react-native-send-intent:stripReleaseDebugSymbols' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':react-native-send-intent:stripReleaseDebugSymbols' as an input of ':RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJars'.
      2. Declare an explicit dependency on ':react-native-send-intent:stripReleaseDebugSymbols' from ':RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJars' using Task#dependsOn.
      3. Declare an explicit dependency on ':react-native-send-intent:stripReleaseDebugSymbols' from ':RNSendIntentModule:copyReleaseJniLibsProjectAndLocalJars' using Task#mustRunAfter.
    
    For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

* 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.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

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