What's new in the Android Studio build system
summary
Build system work adds concrete wins: a new workers API converts ~90% of plugin tasks to side‑effect‑free work items to boost parallelism, artifact transforms gain caching and earlier scheduling for a 15% faster clean build on a 100‑module test, lazy task configuration cuts configured tasks from ~19,000 to ~3,000, incremental annotation processing and KAPT support reduce rebuilds, benchmarks show 50–80% faster for large projects and average 35% improvement, Instant‑style apply changes targets Android 8+, and a Chrome trace JSON profiler helps pinpoint slow tasks.
AI-written summary · about
chapters (17)
- 0:00Intro
- 0:28Namespaced Resources
- 2:16Multi-threading in AGP
- 6:17Worker API
- 10:02Lazy Task Configuration
- 11:09Incremental annotations proc.
- 13:36Improved Sync
- 15:35Apply changes
- 17:22Internal benchmarks
- 19:47"Real life" build speed
- 20:58Example: Spotify
- 21:44Spotify (incremental)
- 23:33Speed attribution
- 24:09Configuration should be fast
- 30:27Caveats
- 31:39Free tools
- 34:58How to enable Chrome trace
related talks
34mWhat's new in Android development tools
40mMake The Android Gradle Plugin Work For You
48mOptimizing Android Build Performance
40mImproving Android Build Performance
30mImproving Android Build performance
27mFaster builds on Android: from 2 minutes to 2 seconds
21mWhat's new in Android Build
47mWhat's New in Android Studio
