Skip to content
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

Different APK size after built on mac and linux #438

Closed
ekasetiawans opened this issue Nov 30, 2024 · 1 comment
Closed

Different APK size after built on mac and linux #438

ekasetiawans opened this issue Nov 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ekasetiawans
Copy link

I analyzed APK that built using different machines. On macos the result APK size is normal about 23MB, but on Linux Ubuntu the result APK size is about 30MB.
When I analyzing the apk, the differences is in librive_text.so, when built on macos it's only about 2-3MB but when built on linux it's about 12-13 MB.

@ekasetiawans ekasetiawans added the bug Something isn't working label Nov 30, 2024
@ekasetiawans
Copy link
Author

It turns out that the cause is the difference in the android ndk version in android/app/build.gradle and in rive_common. Causing the librive_text.so binary to fail to be stripped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant