After this lesson you will
- Compare the debug and release build types: R8, resource shrinking and the signing guard
- Explain why direct references in AppFeatures.kt need no keep rules
- Check which rules actually reach R8 with -printconfiguration
Duration10 min
DifficultyIntermediate
Shrink And Protect The Android Release Build
Why the Android release build isn't the build you tested, and what R8 changes in the app.
- 01Lesson Goal
- 02Part 1: Release Is A Different Program
- 03Part 2: Direct References Need No Keep Rules
- 04Part 3: Read The Rule File Section By Section
- 05Part 4: Which Rules Actually Reach R8?
- 06Code Reading Path
- 07Common Misconceptions
- 08References
- 09Key Points
Topics: mobile-action-pro, release-readiness
9 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: Release Is A Different Program, … — plus 114 lessons in this course, source code and checklists.
Unlock Mobile Action ProOne-time payment — lifetime access — 7-day money-back. Already purchased? Sign in