Stay Calm and Modularize
summary
Modularizing a simple app takes less than a day using Android Studio’s refactor modularize tool and splitting into an instant app module, an installed module, per-feature modules and a single base module; the build produces a zip of mini‑APKs so each feature downloads on demand. Instant features must be under 4 MB (base + feature) and the APK analyzer verifies sizes. Practical shrink tactics: ProGuard (saved ~600 KB on one base module), convert images to WebP, downloadable fonts, and Gradle flavors to swap Picasso vs bundled images.
AI-written summary · about
chapters (9)
- 0:00Introduction to instant apps
- 1:21What are instant apps
- 3:08Setup requirements for instant apps
- 6:58Modularizing apps for instant apps
- 13:41Creating feature modules
- 20:27Dividing code into base and features
- 27:10Shrinking feature modules
- 35:38Customizing instant vs installed apps
- 42:18Final thoughts and resources








