~/talk

Pruning Your App: Good Practices for Reducing App Size

Talkat droidcon San Francisco 2023 · 2023-06-08..06-09· [android, web-performance]
links:none on file
slides:none on file

Converts large PNG assets to WebP and cuts binary size with a concrete case where a 1.66 MB PNG becomes 48 KB (≈3% of original) and a full-app asset conversion drops Xfinity download from 92.9 MB to 82.9 MB (≈10%); enables R8 with minifyEnabled true to shrink 150k methods to 45k and collapse three dex files to one (Google IO example: 18 MB → 6 MB); uses convert PNG to WEBP batch in Android Studio, use Play on demand delivery for a 5 MB AR module delivered only to compatible devices, and gates CI builds with a 130 MB APK threshold.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:14Why reducing app size matters
  3. 6:54Using WEBP for image compression
  4. 13:20Code shrinkers like R8
  5. 21:02Google Play feature delivery
  6. 24:58Monitoring app size over time
  7. 30:18Tools and summary
~/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.