Skip to content

perf(android): reduce apk size from 70MB to 6.7MB - #20

Merged
gmegidish merged 1 commit into
mainfrom
reduce-apk-size
Aug 25, 2026
Merged

gmegidish merged 1 commit into
mainfrom
reduce-apk-size

Conversation

@gmegidish

Copy link
Copy Markdown
Member

Cuts the Android APK from 70MB (debug) to 6.7MB (signed release).

  • Removed material-icons-extended (~40MB of dex); all 5 icons used come from the core set bundled with Material3
  • Enabled R8 minification for release, signed with debug keystore so it installs anywhere
  • hero_foreground: 3MB PNG → 413KB WebP; launcher icons resized per density bucket (were 1024×1024 in all 5); adaptive icon background 550KB → 44KB
  • make apk now builds the signed release and outputs apk/release/Milliways.apk

https://claude.ai/code/session_017uxY2rko33BrcwiYdTP9fg

@gmegidish
gmegidish merged commit 29b9080 into main Aug 25, 2026
1 check passed
@gmegidish
gmegidish deleted the reduce-apk-size branch August 25, 2026 13:08
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.

1 participant