Dan Tech Academy
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.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: Release Is A Different Program
  3. 03Part 2: Direct References Need No Keep Rules
  4. 04Part 3: Read The Rule File Section By Section
  5. 05Part 4: Which Rules Actually Reach R8?
  6. 06Code Reading Path
  7. 07Common Misconceptions
  8. 08References
  9. 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
Sign in