Questions tagged [android-anr-dialog]

The Android "Application Not Responding" dialog message

384 questions
2
votes
0 answers

Android: ANR (Activity Not Responding) on getExternalStorageDirectory()

In the Google Play Console there is a very helpful page “Android vitals” / “ANRs & crashes”. The information provided under “crashes” is almost helpful (e.g. NullPointerException in "filename, line number"). That is something to work with. However,…
2
votes
0 answers

ANR during executing SystemJobService

I am getting the following ANR in my app (after about 30 or more hours running), more details about the app: playing videos with repeat Keep screen on all time at the background there is file downloader service (below its usage 0.1%) background…
Wael Abo-Aishah
  • 942
  • 2
  • 10
  • 27
2
votes
1 answer

Android log message "InputMethodManager: The current service view is not the focus view"

While running my android app I see the following warning-level message in the logs right before the app generates an ANR popup warning: "InputMethodManager: The current service view is not the focus view" I get the message when clicking on an…
Oke Uwechue
  • 314
  • 4
  • 14
2
votes
0 answers

Broadcast of Intent: RegisterUponInstallReceiver, Native ANR, No Java Stack

Once again Google/Android9 crashes somewhere in native code library without giving any idea through Java stack trace or otherwise about where it happened and why. In my case it happened during "REGISTER_AGENT" intent issued by Samsung SAP library.…
2
votes
1 answer

Logs not showing in HUAWEI TIT_AL00

I am trying to debug an ANR in my app in HUAWEI TIT_AL00 device. After an action the device gets an ANR where others devices are working fine. This device doesn't show any of my logs. After searching about this I have found this resource. Now, I am…
2
votes
0 answers

ANR warning :OnMeasure time takes too long

When i run the app , the content takes time to load on the activity , i am using Volley for asynchronous requests, so that is not a problem. Problem is while rendering. D/View: [ANR Warning]onMeasure time too long, this…
2
votes
2 answers

ANR when calling system service (e.g. telephony service)

since Android 8 I have an increased number of ANRs reported in the Google Play Developer console. All of them have in common that the ANR seems to be not directly related to my code but always related to native system calls. See the following…
and_dev
  • 3,723
  • 1
  • 20
  • 28
2
votes
1 answer

ANR (Application not responding) crash in google play console which I don't understand

Two weeks ago my game (made with Unity) on Google Play Store started to report so many crashes, I don't know what might be the issue. "main" tid=1 Native "main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x73960618…
2
votes
0 answers

Input Dispatching issue ANR reports in Unity 3D Game on Android platform

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 500.0ms ago. Wait queue length: 18. Wait queue head age: 5610.0ms.)…
Wasim
  • 31
  • 4
2
votes
3 answers

App crashing on clicking on EditText with latest updates (gradle 4.4 - android studio 3.1)

I recently updated my android studio to version 3.1 and also my gradle to version 4.4. Since, then I have been facing this issue of app going into ANR when clicking on an EditText that should popup a soft input keyboard. On clicking on an EditText I…
2
votes
1 answer

ANR while interacting with SQLite

Sometimes getting ANR while interacting with SQLite. Not a crash, but ANR. The crash log is always the same. Even SQL request is performing on the UI thread, there are 1-2 fast requests, no loops etc. Can't find any similar ANRs. It looks like it's…
nicolausYes
  • 633
  • 8
  • 33
2
votes
2 answers

Android ANR CRASH Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50200010 }

I am getting crash report error using on my google play console. Here is code where i am getting error. Please help me to sort out the problem Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50200010 } try { new…
user1159258
  • 81
  • 2
  • 10
2
votes
0 answers

Unable to intercept ANR on all devices

I am trying to intercept ANR (Application Not Responding) in android devices. I am implementing FileObserver on /data/anr/traces.txt file and capture the logs. I am able to read this file in Samsung Galaxy J7(Android 6.0.1) but not on other devices…
Gagan Batra
  • 363
  • 1
  • 2
  • 15
2
votes
0 answers

How to detect mulitple ANR's of the same app in /data/anr/traces.txt?

Being a newbie, I would like to know how to detect multiple ANR's of the same app through /data/anr/traces.txt. I tried to create ANR manually using a crasher app. I had created almost 5 to 10 ANR's crashes. But when in pull the /data/anr/traces.txt…
Nagaraja Thangavelu
  • 1,168
  • 1
  • 15
  • 31
2
votes
0 answers

NumberPicker freezing when animating it while scroling

I have a numberPicker wrapped in a RelativeLayout like so with some buttons underneath:
Raymond
  • 2,276
  • 2
  • 20
  • 34