Overview
Explore the latest advancements in the Android Studio build system in this 36-minute conference talk from Google I/O'19. Discover new features and APIs designed to enhance app development efficiency. Gain insights into namespaced resources, multi-threading in AGP, Worker API, lazy task configuration, and incremental annotation processing. Learn about improved sync and apply changes functionalities, as well as internal benchmarks and real-life build speed examples, including a case study from Spotify. Understand the importance of fast configuration and potential caveats. Get acquainted with free tools and learn how to enable Chrome trace for optimized performance analysis.
Syllabus
Intro
Namespaced Resources
Multi-threading in AGP
Worker API
Lazy Task Configuration
Incremental annotations proc.
Improved Sync
Apply changes
Internal benchmarks
"Real life" build speed
Example: Spotify
Spotify (incremental)
Speed attribution
Configuration should be fast
Caveats
Free tools
How to enable Chrome trace
Taught by
Android Developers