Android R8 Configuration Analyzer

•
1
•

Optimizes Android application size by identifying redundant Proguard keep rules and streamlining R8 configurations.

The r8-analyzer skill is a specialized tool for Android developers looking to minimize their application footprint and improve build efficiency. It performs a deep audit of build.gradle files, Proguard rules, and R8 configurations to detect overly broad package-level rules and redundant library consumer rules that inflate APK size. Depending on the R8 version used, the skill utilizes either a quantitative data-driven path using the R8 configuration analyzer or a heuristic evaluation to provide actionable insights, scoring, and impact metrics for every optimization suggestion.

主な機能

01Automated detection of redundant and package-wide Proguard keep rules
02Heuristic evaluation and validation for legacy Proguard configurations
031 GitHub stars
04Version-specific recommendations for Android Gradle Plugin (AGP) and Full Mode
05Quantitative impact scoring for modern R8 versions (9.3.7-dev+)
06Comprehensive reporting on rule impact and potential size reductions

ユースケース

01Reducing production APK or App Bundle size for better conversion rates
02Auditing third-party library keep rules during a technical debt cleanup
03Troubleshooting R8 Full Mode migration and build performance issues