What's new with the Android build system
summary
Variant-aware dependency matching now fails only when a library lacks the exact build type or flavor and can be fixed with fallback rules; resource tooling moves to aapt2 with binary resource outputs and per-module R classes (no final IDs, namespaces required); bytecode pipeline shifts to integrated D8 and new shrinker R8; incremental annotation processors via InCAP (Gradle 4.7) aim to cut incremental javac costs; app bundles + dynamic features change packaging and multidex behavior; measured gains: Nest shows ~13% faster full builds 3.0→3.1 and ~18% 3.1→3.2.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:00Dependency management
- 5:19Compilation pipeline changes
- 9:03Build performance improvements
- 11:31Android X migration
- 13:37Android App Bundle
- 18:06Dynamic features
- 21:46Multi-dexing in bundles
- 24:06Shrinking and obfuscation
- 25:44Resource processing changes
- 33:46Public API improvements








