~/talk

From ProGuard to R8: Take Care of Your Bytecode

TalkinFrenchat Android Makers 2018 · on Monday, 2018-04-23· [android]
slides:none on file

The talk explains differences between ProGuard and R8 for Android bytecode shrinking: ProGuard reduces APK size but often breaks apps when reflection, generated metadata, JNI, serializers or annotations aren’t accounted for, requiring manual keep rules. R8 (used in Android Studio 3.2+) is presented as a faster (~3×) shrinker that produces slightly smaller binaries while supporting ProGuard rules; the talk also advises always publishing the mapping file for deobfuscation and thoroughly testing builds because incorrect keep rules can still cause runtime failures.

AI-written summary · about

  1. 0:00ProGuard and R8 intro
  2. 1:10What ProGuard and R8 are
  3. 4:26Why use ProGuard
  4. 7:15ProGuard rules
  5. 10:03ProGuard vs R8
  6. 13:34ProGuard rule examples
  7. 17:55Transition to R8
  8. 20:43R8 benefits
~/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.