-
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 FAILE #8114
Comments
|
Please only report issues on current versions Also note that this is not reproduced in either our e2e environment or my fully automated script build script that I would reproduce this with https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh, so we will need a reproduction - closing until reproduction provided as my script is fully automated, can be run by anyone, and shows everything working https://stackoverflow.com/help/minimal-reproducible-example Note that if you are having problems with debug res values, you might temporarily return android/app/src/main/res files to their default states from react-native template, you may have something wrong in there causing you problems |
@mikehardy I am facing the same issue. What are the things that you know from my project for the solution ? |
@Raghul7S there is no reproduction for this error posted, so I can't say anything definitive. My comments about reproduction above are still the only things I know: I have a reproducer that builds from scratch and works. No one has posted a reproducer that does not work, so we continue with the assumption there is something wrong in people's local projects until there is a reproducer showing otherwise |
PS D:\projectFiles\Barber> npm start -- --reset-cache --info --stacktrace --scan --debug
info Dev server ready i - run on iOS info Opening app on Android...
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor FAILURE: Build failed with an exception.
BUILD FAILED in 17m 53s package.json{ android/build.gradlebuildscript {
} apply plugin: "com.facebook.react.rootproject" ##android/app/build.gradle // React Native configuration /**
/**
/**
android { } dependencies {
} and add in android/app/google-services.json getting error why?? |
@Santosh-NPL unknown, this is currently build-testing successfully every time with react-native 076.6 and react-native-firebase 21.7.2 (that is: current versions, looks like everything is current...) https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh - so I can't reproduce a build failure, it works for me currently - perhaps you are using a different version of JDK (I test mostly 21 and 17) or a different version of gradle (I use the one that comes specified with the react-native template from |
I get the same issue. I'm running on a windows machine if that helps. I have tried running on a fresh build using "npx @react-native-community/cli init Test" npx react-native init is apparently deprecated. It build fine until I add firebase app latest. Logs arent particularly helpful. |
@bantalimon Yes - I still use Looking at error messages it appears @Santosh-NPL is also on Windows. I have build-tested on windows before but it has been a while - normally I test on macOS as that allows me to build all platforms at once. I'll check on Windows, maybe there is something going on |
My demo script (starting in WSL and finishing in Powershell) worked fine with exception that gradle 8.10.2 doesn't work on windows, you need to edit Using straight Can't reproduce at all. Post a reproduction if needed but otherwise closed -> can't reproduce. |
Correct. I think this error happens after you include "implementation project(':@react-native-firebase_app')" in app build grade and the below in settings.gradle include ':@react-native-firebase_app' |
@bantalimon why would you ever do that? Don't do that. |
The text was updated successfully, but these errors were encountered: