What is Android StrictMode?

Updated Apr 28, 2026

Short answer

StrictMode detects performance issues like disk/network on main thread.

Deep explanation

It helps developers identify bad practices during development by throwing warnings.

Real-world example

Detecting accidental network calls on UI thread.

Common mistakes

  • Ignoring StrictMode warnings.

Follow-up questions

  • Why StrictMode?
  • When use?

More Android interview questions

View all →