~/talk

The definitive guide to Android library development

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [developer-experience]
slides:none on file

Walks through creating an Android library by adding a library module to an app, explains that an AAR omits transitive deps so a POM must list them, and warns that publishing to Maven Central requires PGP signing and is tedious. Demonstrates a multi‑module SDK failing at runtime due to an AGP four‑year bug that omits submodule classes, compares fixes: publish submodules, build a fat AAR via embed (fragile, bigger), or keep a single module. Covers transitive conflicts (OkHttp v3/v4, package rename workaround), resource exposure, and using Kotlin API dump/check plus consumer ProGuard rules.

AI-written summary · about

  1. 0:00Introduction to Android libraries
  2. 1:04Building your first Android library
  3. 6:42Publishing to Maven Central
  4. 7:02Understanding transitive dependencies
  5. 10:42Modularizing your SDK
  6. 19:16Should you modularize your SDK?
  7. 20:01Transitive dependency conflicts
  8. 30:13Tips and tools for libraries
  9. 38:39Summary and closing
~/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.