ANR Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over
This happened to me when I had a loop and there was a condition for the loop to get incremented. I had not set the increment for when the condition was not met. Hence, the loop stalled. This resulted in the above error.
Without your code, I cannot help. But the above is a possible cause of your error.
Obviously, you anr log is not complete. It only shows main thread log, what else thread log.
In main thread, from this "main" prio=5 tid=1 Suspended
, we know the thread was suspended. Before that, it
- locked <0x08f02647> (a android.os.MessageQueue) at android.os.Handler.removeMessages(Handler.java:652) at android.view.Choreographer.removeCallbacksInternal(Choreographer.java:418)
- locked <0x0bd41e74> (a java.lang.Object)
You should search the log to check which thread waiting to lock the <0x08f02647> and <0x0bd41e74>, the you may find some clue.