19:40How to debug and troubleshoot R8 optimizer | Spotlight Week
From the creator
So, you've enabled the R8 optimizer, but are you facing mysterious crashes, unreadable stack traces, or longer debugging sessions? Learn how to debug and troubleshoot R8, best practices on diagnosing issues, and how to fix them. Resources: Enable app optimization → https://goo.gle/app-optimization Keep rules → https://goo.gle/keep-rules Keep rules best practices → https://goo.gle/keep-best-practices Debug Keep rules → https://goo.gle/debug-optimization App performance guide → https://goo.gle/app-performance Check out the blog: Configure and troubleshoot R8 Keep Rules → https://goo.gle/keep-rules-blog Chapters: 0:00 - Introduction 0:54 - Cause of issues and keep rules 1:10 - How you specify keep rules and default proguard file 1:43 - Keep rule syntax 2:47 - Best practices in keep rules 5:22 - R8 inspections 6:15 - Tip on how to go to a narrower keep rule 7:13 - Obfuscated Crash in the Androidify app, Automatic Logcat retrace 10:33 - Library section 11:15 - Recap Watch more Android Spotlight Week → https://goo.gle/SpotlightWeeks Subscribe to Android Developers → https://goo.gle/AndroidDevs #Performance #AndroidDevelopers Speaker: Ajesh Pai Products Mentioned: Android,R8
Published 2025-11-18 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





