-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[🐛] Task :react-native-firebase_app:packageDebugResources FAILED #7941
Comments
Hello @Joshman1412 have you tried one of the offered solutions? |
same here |
Same here |
@Lyokone Which solutions were offered? |
with expo i added:
and this added: android/build.gradle: android/app/build.gradle: |
My fix actually was to remove the code instructed for manual linking and allowing auto-linking to do its job. The docs confused me so I followed the wrong (manual linking) instructions, which caused this problem for me. |
Thanks for confirming fix, @Keenan-Softserve. @Joshman1412 - did this resolve your issue? |
@Keenan-Softserve exactly, same here... The docs confused me too so i followed manual linking and the show this error, when remove manual linking and allow auto-linking all is fine |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Issue
Describe your issue here
build keeps failing due to many issues with fire base and now im getting this when i try to build Task :react-native-firebase_app:packageDebugResources FAILED
FAILURE: Build failed with an exception.
A problem was found with the configuration of task ':react-native-firebase_app:packageDebugResources' (type 'MergeResources').
Gradle detected a problem with the following location: 'C:\App Development\GrooveSwap\node_modules@react-native-firebase\app\android\build\generated\res\resValues\debug'.
Reason: Task ':react-native-firebase_app:packageDebugResources' uses this output of task ':@react-native-firebase_app:generateDebugResValues' 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:
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:android/app/build.gradle
:android/settings.gradle
:MainApplication.java
:AndroidManifest.xml
:Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:20.3.0
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?N
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: