react-native-send-intent icon indicating copy to clipboard operation
react-native-send-intent copied to clipboard

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

Open jwoodmansey opened this issue 3 years ago • 6 comments

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

jwoodmansey avatar Feb 16 '22 10:02 jwoodmansey

Confirm, same issue.

sergeymorkovkin avatar Jun 03 '22 10:06 sergeymorkovkin

same issue (react-native 0.68.2)

dkahdwk avatar Jun 14 '22 06:06 dkahdwk

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:

  • Gradle detected a problem with the following location: '/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.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.

nkhanh90 avatar Jul 27 '22 18:07 nkhanh90

same issue RN 0.68.2

mchewry avatar Jul 16 '24 08:07 mchewry