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

APK size #79

Open
IzzySoft opened this issue Mar 15, 2020 · 1 comment
Open

APK size #79

IzzySoft opened this issue Mar 15, 2020 · 1 comment

Comments

@IzzySoft
Copy link

Starting with v1.2.0, APKs increased in size by factor 30 – which is quite a lot. I assume this is mostly due to the native libraries being added for all the different architectures.

Would it be possible to "slim down" a bit?

For example, is the 6M raw soundfile (an MP3 I assume) really needed in the package (res/raw/song)? And as Android devices using MIPS architecture are not that wide-spread, maybe have an APK without this architecture, saving another ~10M? A "minimal" APK could even only ship with armeabi+x86, which should work on all ARM and X86 devices – and that APK would shrink down to ~11..12M (still factor 10 to what it was before v1.2.0). If the "full APK" is available separately, everyone is free to chose.

@IzzySoft
Copy link
Author

@hikikomoriphoenix no comment at all? I've just checked again: without that song, size goes down to 30M. Leaving out mips as well, to 25M (one third). ARM only would be 15M (less than half of the original size).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant