lucasferreira / react-native-send-intent

React Native Android module to use Android's Intent actions for send text to shareable apps or make phone calls or opening third party apps
418 stars 159 forks source link

Execution failed for task ':react-native-send-intent:generateDebugRFile'. #146

Open jwoodmansey opened 2 years ago

jwoodmansey commented 2 years ago

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

Version is "react-native-send-intent": "^1.3.0"

> Task :react-native-send-intent:generateDebugRFile FAILED
Execution optimizations have been disabled for task ':react-native-send-intent:generateDebugRFile' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Users/.../emma-app/node_modules/react-native-send-intent/android/build/intermediates/local_only_symbol_list/debug/R-def.txt'. Reason: Task ':react-native-send-intent:generateDebugRFile' uses this output of task ':RNSendIntentModule:parseDebugLocalResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '/Users/.../emma-app/node_modules/react-native-send-intent/android/build/intermediates/packaged_manifests/debug'. Reason: Task ':react-native-send-intent:generateDebugRFile' uses this output of task ':RNSendIntentModule:processDebugManifest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.

Execution failed for task ':react-native-send-intent:generateDebugRFile'.
> A failure occurred while executing com.android.build.gradle.internal.res.GenerateLibraryRFileTask$GenerateLibRFileRunnable
   > /Users/.../emma-app/node_modules/react-native-send-intent/android/build/intermediates/local_only_symbol_list/debug/R-def.txt
sergeymorkovkin commented 2 years ago

Confirm, same issue.

dkahdwk commented 2 years ago

same issue (react-native 0.68.2)

nkhanh90 commented 2 years ago

Same issue for me 0.69.2

Task :react-native-send-intent:generateDebugRFile FAILED Execution optimizations have been disabled for task ':react-native-send-intent:generateDebugRFile' to ensure correctness due to the following reasons:

mchewry commented 1 month ago

same issue RN 0.68.2