How to debug and troubleshoot R8 optimizer | Spotlight Week
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
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
Android Developers
Welcome to the official Android Developers Youtube channel. Get the latest Android news, best practices, live videos, demonstrations, tutorials, and more. Subscribe to receive the latest on Android development....