-
Notifications
You must be signed in to change notification settings - Fork 24.9k
gradle vm cleanup fix #32257
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
gradle vm cleanup fix #32257
Conversation
|
Hi @enniel! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Base commit: 18697ad |
Base commit: 18697ad |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
|
@ShikaSD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Awesome! these are my results: |
|
This is great stuff! Thanks for looking into it @enniel Lines 194 to 228 in 382e78e
|
Done! |
|
@ShikaSD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Thanks for doing that 🙏 |
|
This pull request was successfully merged by @enniel in 6f12674. When will my fix make it into a release? | Upcoming Releases |
3 similar comments
|
This pull request was successfully merged by @enniel in 6f12674. When will my fix make it into a release? | Upcoming Releases |
|
This pull request was successfully merged by @enniel in 6f12674. When will my fix make it into a release? | Upcoming Releases |
|
This pull request was successfully merged by @enniel in 6f12674. When will my fix make it into a release? | Upcoming Releases |








Summary
This patch remove unused .so files for reduce android .apk and .aab
Changelog
Test Plan
I have created a repository for testing:
https://github.com/enniel/react-native-invalid-build-example
That lines includes patch for fix bug:
https://github.com/enniel/react-native-invalid-build-example/blob/f195ecdbeaca88ffb57c344615ede45ea0f6ef57/android/app/react.gradle#L331-L385
git clone https://github.com/enniel/react-native-invalid-build-example cd react-native-invalid-build-example npm idebug, hermes disabled, without patch
open android/app/build/outputs/apk/debug/app-debug.apk in android studio
debug, hermes enabled, without patch
open android/app/build/outputs/apk/debug/app-debug.apk in android studio
debug, hermes disabled, with patch
open android/app/build/outputs/apk/debug/app-debug.apk in android studio
debug, hermes enabled, with patch
open android/app/build/outputs/apk/debug/app-debug.apk in android studio
release, hermes disabled, without patch
open android/app/build/outputs/apk/release/app-release.apk in android studio
release, hermes enabled, without patch
open android/app/build/outputs/apk/release/app-release.apk in android studio
release, hermes disabled, with patch
open android/app/build/outputs/apk/release/app-release.apk in android studio
release, hermes enabled, with patch
open android/app/build/outputs/apk/release/app-release.apk in android studio