The Size Analyzer is a tool for developers to understand the size of their Android application.
How to build the size analyzer
The tool can be built using gradle. An executable jar can be built using the command below:
How to use the size analyzer
The executable jar can be run against either an Android Studio project or an Android App Bundle.
java -jar analyzer/build/libs/analyzer.jar check-bundle <path-to-aab> java -jar analyzer/build/libs/analyzer.jar check-project <path-to-project-directory>
Pre-built distributions of this tool will be made available with each release on our releases page.