How to debug and troubleshoot R8 optimizer | Spotlight Week

3 562
10.1
Следующее
65 дней – 2 6550:38
App Performance #SpotlightWeek
Популярные
Опубликовано 18 ноября 2025, 17:02
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 → goo.gle/app-optimization
Keep rules → goo.gle/keep-rules
Keep rules best practices → goo.gle/keep-best-practices
Debug Keep rules → goo.gle/debug-optimization
App performance guide → goo.gle/app-performance
Check out the blog: Configure and troubleshoot R8 Keep Rules → 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 → goo.gle/SpotlightWeeks
Subscribe to Android Developers → goo.gle/AndroidDevs

#Performance #AndroidDevelopers

Speaker: Ajesh Pai
Products Mentioned: Android,R8
Свежие видео
8 дней – 5 1530:50
Aniket’s Story: AI & I
16 дней – 951 12610:25
AMD is In Danger
17 дней – 1 347 61716:52
The World’s Only 52” 6K Monitor
17 дней – 22 0791:43:02
NVIDIA Hate-Watch Party! | LIVE @ CES 2026
автотехномузыкадетское