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”.
Application Not RespondingInput dispatching timed outisn't responding 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
- Move work to background (coroutines, WorkManager)
- Enable StrictMode in debug to catch disk/network on main
- Read the ANR trace to find the blocking call
Detailed fix by platform
Kotlin
if (BuildConfig.DEBUG) StrictMode.setThreadPolicy(StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().build())
ADB
adb bugreport ./anr-report.zip # contains /data/anr traces
How to diagnose
- Trace — Main thread stack in the ANR report
- 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:
Similar errors
Most viewed in Android
- Could not resolve Gradle: Could not resolve all files for configuration / Could not resolve dependency
- Unsupported class file major version Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 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.
Report a correction or suggest an improvement
Last updated 14 Oct 2026