Uh oh!
There was an error while loading. Please reload this page.
build(deps): Bump android Appcompat to 1.4.1 - #33072
Conversation
Base commit: 172f990 |
Base commit: 172f990 |
3bb403c to
9ab8271Comparegabrieldonadel
commented
Feb 9, 2022
@cortinico I believe this commit cd79317 broke CI, in particular the |
gabrieldonadel
commented
Feb 9, 2022
Ohh never mind, I guess you already have a PR fixing this |
9ab8271 to
6a84cccComparefacebook-github-bot
commented
Feb 9, 2022
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
cortinico
commented
Feb 9, 2022
Yup you're right. We're working on it, hopefully it will be out in the next hours. Sorry for the disruption 👍 |
ShikaSD
commented
Feb 9, 2022
Hi, thanks for upgrading it, do you mind updating the BUCK file for the dependency as well? |
gabrieldonadel
commented
Feb 9, 2022
Sure @ShikaSD, I can update that. My only question is regarding the |
ShikaSD
commented
Feb 9, 2022
It can be retrieved from google maven repo, I don't think we have any command that upgrades it automatically. If you struggle to find the hash, you can upgrade the version and then wait for the CI to fail, it should have a new hash there. |
gabrieldonadel
commented
Feb 9, 2022
Ohh got it! Thanks @ShikaSD |
gabrieldonadel
commented
Feb 9, 2022
Done 😄 |
facebook-github-bot
commented
Feb 9, 2022
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
ShikaSD
commented
Feb 9, 2022
I think CI is broken after the latest commit, it cannot find some androidx classes: |
cortinico
commented
Feb 9, 2022
#33068 has been marged. You should be able to rebase and get a green CI from that 👍 |
ee40a15 to
99c9059Comparegabrieldonadel
commented
Feb 10, 2022
Yeah, I had quite a hard time installing BUCK in my machine to investigate this because I'm using an M1 mac, I finally got it working, I'll start investigating why this is falling now |
99c9059 to
252034fComparegabrieldonadel
commented
Feb 10, 2022
Any suggestion on how to fix this @ShikaSD@cortinico ? I believe the |
cortinico
commented
Feb 10, 2022
Yup, you'll need to add to the BUCK file you attached the following rule: and edit the "appcompat" target with: fb_native.android_library(
name = "appcompat",
visibility = ["PUBLIC"],
exported_deps = [
":annotation",
":appcompat-binary",
+ ":appcompat-resource-binary",
":collection",
":core",
":cursoradapter",
":fragment",
":legacy-support-core-utils",
":vectordrawable",
":vectordrawable-animated",
],
)If you see the other targets have similar definition |
gabrieldonadel
commented
Feb 10, 2022
gabrieldonadel
commented
Feb 10, 2022
I managed to fix this by bumping android:core version as well |
facebook-github-bot
commented
Feb 10, 2022
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
react-native-bot
commented
Feb 10, 2022
This pull request was successfully merged by @gabrieldonadel in 6b61995. When will my fix make it into a release? | Upcoming Releases |
Summary: Currently we are using Appcompat in version 1.0.2 which is almost 4 years old now, this PR updates it to version 1.4.1. Using Appcompat 1.0.2 was also causing a crash on RNTester due to an error where FontFamily's method was not found (Related to react#33065) Closesreact#31620 ## Changelog [Android] [Changed] - Bump android Appcompat to 1.4.1 Pull Request resolved: react#33072 Test Plan: Use `./scripts/test-manual-e2e.sh` to test both RNTester and a new app Reviewed By: cortinico Differential Revision: D34107105 Pulled By: ShikaSD fbshipit-source-id: 966e4687b09ae50a88ee518622f073d72e8c6550


Summary
Currently we are using Appcompat in version 1.0.2 which is almost 4 years old now, this PR updates it to version 1.4.1.
Using Appcompat 1.0.2 was also causing a crash on RNTester due to an error where FontFamily's method was not found (Related to #33065)
Closes#31620
Changelog
[Android] [Changed] - Bump android Appcompat to 1.4.1
Test Plan
Use
./scripts/test-manual-e2e.shto test both RNTester and a new app