Questions tagged [android-anr-dialog]

The Android "Application Not Responding" dialog message

384 questions
3
votes
1 answer

ANR (Force close/Wait) while generating a big enough list

I am creating a kind of file explorer, in which if any application files are copied to phone/SD card I am showing it on an activity with dialog theme to user. For every new "app.apk" copied I am appending the name of the app and location to the…
Rajkiran
  • 15,845
  • 24
  • 74
  • 114
2
votes
1 answer

How to Avoid ANR response in Android when there is a Time delay in Server?

I am new to Android, but i know somewhat in Java, and Java EE While communicating with the Server(webservice) , it works fine with the response i am getting from it. But if there is any time delay more than 5 seconds, it is going to ANR. Now my…
Pradeepraj
  • 423
  • 1
  • 8
  • 15
2
votes
1 answer

Does icecream sandwich 4.0.3 enforces more restrictions for application developer in threading usage?

I am working on an application that was designed for tablet (specifically tested well on Motorola Xoom and Samsung Galaxy Tab 10.1). The O.S. which was used was HoneyComb. Recently after updating the O.S. to official Icecream Sandwich 4.0.3, that…
2
votes
2 answers

Android. Avoiding ANR with HttpClient

I have some problems with my app. In market reports often appears ANR repostr with HttpClient errors. There are java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016) at…
Georgy Gobozov
  • 13,633
  • 8
  • 72
  • 78
2
votes
1 answer

Input dispatching timed out (ANR)(Waited 5000ms for MotionEvent)

I have published my app few days ago and in that so many ANR is generating. Input dispatching timed out (cabef3d main.MainNavigationActivity (server) is not responding. Waited 5000ms for MotionEvent) Above is the ANR gnerating most of time Below…
2
votes
1 answer

`adb pull /data/anr/...` returns `Permission denied`

I want to get ANR traces from my Samsung A51. Official documentation tells to do adb root: adb root adb shell ls /data/anr adb pull /data/anr/ But it does not work for my device. Why? Or everyone assumes that developers have rooted…
Anton Petrov
  • 782
  • 1
  • 8
  • 19
2
votes
0 answers

ANR: Executing service InvisibleToUser

In the Play Console, we're getting the following Application Not Responding error: executing service com.example.com/.NotificationListener, InvisibleToUser. The interesting thing is that this is only happening on Motorola devices so far. I couldn't…
Jorn Rigter
  • 745
  • 1
  • 6
  • 25
2
votes
0 answers

Hello i have new problem with uinty Andriod ANR crash

I have ANR errors and I do not know where that come from, can anybody help me find out? Error is : Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were…
2
votes
1 answer

How to debug ANR crash logs

How to read the ANR crash logs TraceHashCode: 43fa59baf2962ccc74bdf276b9cdd6fc21e9bb35 ----- pid 22452 at 2021-07-15 22:58:56 ----- Cmd line: com.testserver.test.tv.android.app ABI: arm Build type: optimized Zygote loaded classes=4015 post…
Pavan Tiwari
  • 3,077
  • 3
  • 31
  • 71
2
votes
2 answers

Strange Increase of ANR on Google Play Console Since May 19

Game 1 Game 1 Trace Hi Guys, I've encountered strange increase of ANRs in several apps. I wonder if your apps have the same problem and how you fix it. Here are some details: The increase started from about May 19, 2021, in all versions. The ANR is…
2
votes
0 answers

What's the meaning of WaitingForGcToComplete, WaitingForCheckPointsToRun and WaitingForTaskProcessor thread states in Android?

I'm investigating ANR reports from Google Console in my app and very often I found the HeapTaskDaemon thread to be in one of the following states: Blocked WaitingForCheckPointsToRun WaitingForTaskProcessor WaitingForGcToComplete Example: Except…
2
votes
1 answer

Android ANR while parsing Path Strategy for File provider at time of app update

I'm having a very hard time debugging an Android ANR problem. This ANR is coming on play store and I am not able to reproduce the problem. In our app, we are listening to android.intent.action.MY_PACKAGE_REPLACED broadcast and on some devices we are…
2
votes
0 answers

Ionic Cordova Android: Input dispatching timed out ERROR

We are running our android-app via cordova. Currently we are getting more and more ANR error-messages that the Input dispatching timed out. Full error message: Input dispatching timed out (Waiting to send non-key event because the touched window has…
2
votes
0 answers

ANR on receive "android.intent.action.SCREEN_ON"

we receive following ANR log on Google Play Console. #00 pc 0000000000068e94 /system/lib64/libc.so (__ioctl+4) #01 pc 0000000000024428 /system/lib64/libc.so (ioctl+132) #02 pc 00000000000619ec /system/lib64/libbinder.so…
2
votes
1 answer

Xamarin Forms Android application throwing ANR Popup After 90 seconds

We have developed an application in Xamarin Forms. In Android application when the user uses the app in a low-network for about 90 seconds we are getting app not responding(ANR) Popup. Here my question is, is there any way to avoid this ANR popup…