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
[Android] Build failing with RN 0.72 #1022
Comments
|
The building is failing because now RN 0.72 uses Gradle 8.0, and there is breaking change where classifier was removed and archiveClassifier must be used instead. Gradle push maven is not needed anymore in the RN project Reference: #1022
Backported the fix in release v5.1.6. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lottie-react-native](https://togithub.com/airbnb/lottie-react-native#readme) ([source](https://togithub.com/react-native-community/lottie-react-native)) | [`^5.1.5` -> `^5.1.6`](https://renovatebot.com/diffs/npm/lottie-react-native/5.1.5/5.1.6) | [![age](https://badges.renovateapi.com/packages/npm/lottie-react-native/5.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lottie-react-native/5.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lottie-react-native/5.1.6/compatibility-slim/5.1.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lottie-react-native/5.1.6/confidence-slim/5.1.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>react-native-community/lottie-react-native</summary> ### [`v5.1.6`](https://togithub.com/lottie-react-native/lottie-react-native/releases/tag/v5.1.6) [Compare Source](https://togithub.com/react-native-community/lottie-react-native/compare/v5.1.5...v5.1.6) #### What's Changed - fix: breaking change for RN 0.72 and remove gradle-maven-push task in commit [f1e5466](https://togithub.com/lottie-react-native/lottie-react-native/commit/f1e54660f3bc4dbe39bd9b4b8b0f8f2314820767) Fixes: [lottie-react-native/lottie-react-native#1022 **Full Changelog**: lottie-react-native/lottie-react-native@v5.1.5...v5.1.6 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
Can this also be backported for v4.1.3? |
Is there any reason for you to keep using the old version? |
Thank You |
"react-native": "0.68.5", getting this error |
Description
Android build is failing with a project that uses RN 0.72:
Applying this patch on
src/android/gradle-maven-push.gradle
file will solve the problem:The building is failing because now RN 0.72 uses Gradle 8.0, and there is breaking change where
classifier
was removed andarchiveClassifier
must be used instead.I tried to fix the problem by myself and raise a PR but wasn't able to find this file in the repo, which makes me wondering if it's something generated during a release.
Steps to Reproduce
lottie-react-native
library to project.Expected behavior: The project should build without problems.
Actual behavior: The project is failing during build.
Versions
The text was updated successfully, but these errors were encountered: