Dan Tech Academy
After this lesson you will
  • Contrast the debug build your tests exercised with the minified, resource-shrunk build R8 produces for release
  • Read keep rules that protect Class.forName reflection targets from renaming and removal
Duration5 min
DifficultyIntermediate

Shrink and Guard the Release Build

Understand why the release build is not the build you tested, and what R8 does to an Android release.

What this lesson covers
  1. 01Lesson Promise
  2. 02Your Objective
  3. 03Release Is a Different Program Than Debug
  4. 04Keep Rules Are the Contract for Reflection
  5. 05Read the Rule File Section by Section
  6. 06Code Reading Path
  7. 07Easy Things to Get Wrong
  8. 08Key Takeaway

Topics: mobile-action-pro, release-readiness

8 sections left in this lessonUnlock all of Mobile Action ProLesson Promise, Your Objective, … — plus 64 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