Glossary

ANR (Application Not Responding)

What is ANR (Application Not Responding)?

ANR (Application Not Responding) is an Android-specific failure mode where the system detects the app's main thread has been blocked and presents the user with a 'Wait' / 'Close app' dialog. Google Play Console surfaces ANR rates and stack traces, and counts them against your app's vitals score, a high ANR rate triggers placement penalties in search and store rankings. ANRs most commonly originate from synchronous I/O on the main thread (SharedPreferences reads, database queries via Room without coroutines), long-running broadcast receivers, or deadlocks in background thread pools. Android's StrictMode can detect ANR-prone patterns during development.

ANR (Application Not Responding), frequently asked questions

An ANR is triggered when the main (UI) thread is blocked for more than 5 seconds during a user input event, or more than 10 seconds during a broadcast receiver. Common causes: synchronous database access, synchronous network calls, long-running computations on the UI thread, and inter-process communication (IPC) timeouts.