~/talk

Best practices using compilers in Android Studio

Talkat Google I/O 2018 · 2018-05-08..05-10· [android]
slides:none on file

Android Studio compiler work converts Java 8 lambdas via desugaring into generated classes so they run on old VMs, makes DX incremental by emitting one dex file per class for faster debug builds, and replaces DX with D8 which preserves debug info and yields about 16% faster clean builds. R8 merges Kotlin lambdas and shrinks code, saving ~100 KB and ~25% compile time on one large app and reducing dex size ~25% on system apps. App bundles use a dex splitter to keep whole-program shrinking across dynamic features.

AI-written summary · about

  1. 0:00Start
  2. 1:00Incremental Dexing
  3. 3:40Incremental Annotation Processors
  4. 5:30Demo
  5. 7:06Oncreate Method
  6. 7:52Meta Factories
  7. 9:12The Apk Analyzer
  8. 12:04Dextre
  9. 12:54How Is D8 Integrated into the Gradle Build System
  10. 18:08Application Size
  11. 18:49How Does Proguard Work
  12. 19:09Android Studio 3 2
  13. 24:46Android App Bundle
~/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.