Spotify Feb 14, 2022

Introducing Ruler: Our Tool for Measuring Android App Size

Article Summary

Spotify just open-sourced the tool that helped them slash their Android app size by 9%. Here's why app size matters more than you think.

Spotify's engineering team built Ruler, a Gradle plugin that traces every byte in your Android app back to its source module or dependency. With 1,000+ modules in their codebase, they needed granular visibility to optimize what users actually download.

Key Takeaways

Critical Insight

Ruler gives Android teams module-level app size visibility, helping Spotify cut 9% from their app while scaling to thousands of contributors.

The ownership tracking feature solves a problem most large mobile teams don't even realize they have yet.

Recent from Spotify

Related Articles