~/talk

Shrink, Secure & Optimize Your App With R8

Talkat Android Makers 2020 · 2020-04-20..04-21· [android, web-performance]
slides:none on file

R8 replaces ProGuard and folds D8 desugaring into a single pass that both compiles and shrinks, yielding roughly around 20% smaller dex artifacts in many cases by using tree shaking plus aggressive minification. It applies dead‑code elimination, constant folding and bytecode optimizations guided by explicit keep rules, emits a mapping file for stack traces, and gives library authors a way to package consumer‑friendly rules. Integrates into the Gradle pipeline and demonstrably reduces APK size and method count in production builds.

AI-written summary · about

  1. 0:00Introduction to R8
  2. 2:57What is R8 compiler
  3. 5:24R8 as shrinker and optimizer
  4. 7:31Benefits of using R8
  5. 11:23R8 configuration language
  6. 13:52Security with R8
  7. 18:18R8 in Android Studio
  8. 24:08Text-to-speech optimization
  9. 27:21Consumer profiles and R8
  10. 31:23R8 for app development
  11. 33:25Android tips with R8
  12. 34:34Replacing ProGuard with R8
  13. 39:33Best practices with R8
  14. 40:41Final thoughts and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.