
Your Keep Rules Are Costing You: Auditing R8 with the Configuration Analyzer
How the R8 Configuration Analyzer exposes keep rules that block shrinking and optimization, and how to remove them safely.
Nov 11, 20269 min read0 reactions0 comments
Tag archive

How the R8 Configuration Analyzer exposes keep rules that block shrinking and optimization, and how to remove them safely.
A systematic way to diagnose Android crashes that appear only after R8 optimization, from retracing stack traces to writing the narrowest keep rule that fixes the real boundary.

I had this weird issues that a field is null only on release build, even if I checked it's nullity be...