~/talk

Advanced Android app shrinking techniques

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [android]
slides:none on file

Compares concrete builds of the FODM companion app and Tusky, using Android Studio APK Analyzer, Gradle dependency trees and R8 to measure effects: switching to the program Android optimize rules cuts dex size by about 33% in FODM (25% in Tusky) with an extra ~5% (150 KB ~3% in Tusky) from custom rules; converting map PNGs to lossless WebP yields ~20% smaller images; removing unused locales saves ~200 KB; assertions removal trims ~2% of dex.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Smaller app packages matter
  3. 2:55APK structure basics
  4. 3:58Optimizing images with WEBP
  5. 7:11Removing unsupported locales
  6. 8:58Cleaning metadata and native binaries
  7. 10:45Optimizing dependencies
  8. 13:54Advanced R8 rules
  9. 19:10Removing Kotlin assertions
  10. 21:20Debugging rules and libraries
  11. 24:52XML resources and unreachable code
  12. 32:42Migrating to Jetpack Compose
  13. 35:29Compose results and plans
  14. 36:10Q&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.