What problem does it solve?
Redundant or overly broad R8/ProGuard keep rules bloat your APK/AAB and make shrinking harder to reason about, causing slow builds and unnecessary size overhead.
Core Features & Use Cases
- Keep-rule redundancy detection: Identifies library-wide keep rules that are unnecessary when they target common libraries (Google/AndroidX/Kotlin/Room/Gson/Retrofit and more).
- Subsumption and hierarchy-based refinement: Detects broader rules that subsume narrower consumer rules using an impact hierarchy.
- Reflection-aware narrowing guidance: Connects remaining rules to likely reflection use and recommends more specific keep rules for the codebase.
- Actionable cleanup plan: Produces concise per-rule remove/refine instructions, ordered by impact on the codebase hierarchy.
Quick Start
Use the r8-analyzer skill to analyze your Android build and ProGuard/R8 keep rules and generate R8_Configuration_Analysis.md with precise removal/refinement recommendations.