~/talk

Getting the most out of Android Lint

Talkat Android Dev Summit 2018 · 2018-11-07..11-08· [developer-experience, testing]
links:none on file
slides:none on file

Android Lint is presented as a full static-analysis framework that already ships hundreds of checks and can be extended to solve team‑specific problems: it demos building a custom Lint checks JAR (module) that flags Thread.yield calls, shows the UAST-based API for Java/Kotlin, and explains a baseline file to ignore legacy warnings. Threading annotations like UiThread/WorkerThread annotations and an optional interprocedural “wrong thread” inspection catch deep call‑chain bugs. Practical notes cover gradlew lintDebug, CI performance (avoid checkAllWarnings, skip test sources) and sample projects on GitHub.

AI-written summary · about

  1. 0:00Introduction to Lint
  2. 1:07What is Android Lint
  3. 2:52Configuration and Baselines
  4. 6:02Performance Tips
  5. 7:35Using Annotations
  6. 9:25Thread Analysis Demo
  7. 12:18Lint Internals
  8. 14:13Custom Lint Checks
  9. 14:59Writing a Detector Demo
  10. 19:32Conclusion and Resources
~/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.