Shrinking Your APK, By Example
summary
Walks through making a toy cat‑pictures app shrink from ~2.2 MB to ~1.1 MB (and an xxhdpi split to ~800 KB) by using APK Analyzer to find big assets, converting PNGs to WebP (75% quality) and an MP3 to OGG to cut image/audio bytes, enabling ProGuard + resource shrinking while fixing AAPT keep rules (merged-manifest override to remove an unused activity), and publishing density splits with a version‑code math trick to serve smaller per-device APKs; notes an Instant Apps bug affecting resource shrinking.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:52Why Shrink Your APK
- 2:43Example App
- 3:25Incan Eliezer
- 4:54Density
- 5:26Remove Unused Resources
- 6:37JPEG vs PNG
- 8:03WebP Image Studio
- 9:44ProGuard
- 14:14Using Resources
- 15:47Configuring a Flavor
- 18:46Android Tool Chambers
- 20:52Manifest Order
- 22:09APK Analyzer
- 23:43Separate APKs
- 26:38Universal APKs
- 27:42Multiple APKs
- 29:32Density Splits
- 36:02Questions
- 39:38Android vs iOS
related talks
33mPruning Your App- Good Practices for Reducing App Size
22mHow to Make Your App Lose Weight
40mGenerating efficient apk by reducing size
21mHow to optimise app size to below 10MB
17mWhat I found when I look into your APK
36mAdvanced Android app shrinking techniques
34mOptimize your app size with this one trick
20mA resourceful talk about Android Resources
