ANR Android Origin: On your device Last updated 14 Oct 2026

ANR: Application Not Responding (Input dispatching timed out)

The main thread was blocked for about 5 seconds (input) or a broadcast/service took too long, so Android showed “App isn’t responding”.

Exact message you may see Application Not RespondingInput dispatching timed outisn't responding
Seen on: Android

Meaning

Disk/network/database work on the main thread, lock contention, heavy layout or deadlocks cause ANRs. Play Console’s Android vitals and traces.txt show the main-thread stack.

Common causes

  • I/O, database or network on the main thread
  • Long computations/JSON parsing on main
  • Deadlock or waiting on a lock
  • BroadcastReceiver onReceive doing heavy work

⚡ Quick fix

  1. Move work to background (coroutines, WorkManager)
  2. Enable StrictMode in debug to catch disk/network on main
  3. Read the ANR trace to find the blocking call

Detailed fix by platform

Kotlin

  1. if (BuildConfig.DEBUG) StrictMode.setThreadPolicy(StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build())

ADB

  1. adb bugreport ./anr-report.zip # contains /data/anr traces

How to diagnose

  1. Trace — Main thread stack in the ANR report
  2. Vitals — Play Console ANR clusters

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

103 — HTTP 103 Early Hints (HTTP)1031200 — Cloudflare Error 1200: Cache connection limit (Cloudflare)1200304 — HTTP 304 Not Modified (HTTP)304504 — HTTP 504 Gateway Timeout (HTTP)504524 — Cloudflare Error 524: A Timeout Occurred (Cloudflare)52457014 — ERROR: canceling statement due to statement timeout (PostgreSQL)57014CalledFromWrongThreadException — CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views (Android)CalledFromWrongThread…Cannot access database on the main thread — Room: Cannot access database on the main thread since it may potentially lock the UI for a long period of time (Android)Cannot access databas…ANR

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.