Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jwoodmansey opened this issue Feb 16, 2022 · 4 comments

Comments

@jwoodmansey
Copy link

jwoodmansey commented Feb 16, 2022

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
Copy link

Confirm, same issue.

@dkahdwk
Copy link

dkahdwk commented Jun 14, 2022

same issue (react-native 0.68.2)

@nkhanh90
Copy link

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.

@mchewry
Copy link

mchewry commented Jul 16, 2024

same issue RN 0.68.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants