-
Notifications
You must be signed in to change notification settings - Fork 24.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
Error: Duplicate resources is showing when trying to run ./gradlew assembleRelease #31769
Comments
Probably too simple of a solution / thought, but here's what I'm thinking: Is it possible that you've copied the Also try cleaning everything with: |
@danielbbt I have the same problem as you and the solutions didn't work for me either. Did you found something else ? :) |
Just to put it out there and to help anyone who is still looking
You have a file assets/fonts/galioextra.json which is shown as "assets_fonts_galioextra.json". Notice the other one has the same name, regardless of the extension. Renaming one of the file will resolve this issue :) |
The problem for my setup was this line in apply from: "../../node_modules/react-native/react.gradle" removed it and build works now |
Closing as this is on a really old RN version, the issue is missing our template and is not actionable. Some of the workaround provided were also valid so there is nothing left for us to do here. |
React Native version: 0.63.4
Please note that I have already tried the solutions in but still to no avail:
#22234
#26245
https://shreyasnisal.medium.com/solved-packing-error-in-react-native-release-apk-f887687edc4f
The error that I am receiving is below:
The text was updated successfully, but these errors were encountered: