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

Use ./gradlew assembleRelease to decrease the Android demo APK size #3185

Conversation

javier-ruiz-b
Copy link
Collaborator

@javier-ruiz-b javier-ruiz-b commented Feb 28, 2025

assembleRelease seems to decrease the APK size, but it also increases build time:

  • 3m 21s -> 5m 10s
  • 24,9 -> 18,7MB

@cpholguera What do you prefer, smaller APK size or lower build time?

image

This PR closes #3159

Javier Ruiz added 2 commits February 28, 2025 20:43
…b action file hash as key to force a cache rebuild when the github action is modified.
@javier-ruiz-b javier-ruiz-b marked this pull request as ready for review February 28, 2025 20:14
@javier-ruiz-b javier-ruiz-b changed the title ./gradlew assembleRelease may decrease the APK size. Having the githu… Use ./gradlew assembleRelease to decrease the Android demo APK size Feb 28, 2025
@cpholguera
Copy link
Collaborator

I see, I think we'll keep the speed. The size really doesn't seem to improve that much in comparison. The reduction for the zipped version is still under 2MB.

But thanks for trying it out!

@cpholguera cpholguera closed this Mar 1, 2025
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

Successfully merging this pull request may close these issues.

Optimize / Reduce final Demo APK File size
2 participants