The Android "Application Not Responding" dialog message
Questions tagged [android-anr-dialog]
384 questions
4
votes
3 answers
Getting lot of ANR using Accessibility service in android
i am getting ANR from reports
Broadcast of Intent { act=android.intent.action.PACKAGE_ADDED
dat=package:com.google.android.apps.maps flg=0x4000010
cmp=xx.xx.xx/com.microsoft.aad.adal.ApplicationReceiver (has extras) }
Broadcast of Intent {…

Nikhil
- 1,023
- 17
- 35
4
votes
0 answers
Android AdvancedWebView causes ANR when inflating view
I have a very strange ANR problem. During about 33% of application startups, app hangs on initializing AdvancedWebView.
It occurs only on Android 6.X and 7.X.
"main" prio=5 tid=1 Waiting
| group="main" sCount=1 dsCount=0 obj=0x756e2a88…

Marian Przyszedł
- 699
- 1
- 9
- 19
4
votes
3 answers
Get ANR dialog when open links from WebView in Chrome custom tabs. How do I debug this?
I want to use Chrome custom tabs to properly handle URLs out of my domain.
Here is the code
webView.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request){
String url =…

Hoa Vu
- 2,865
- 4
- 25
- 33
4
votes
0 answers
How to fix the mutex lock?
Google play has reported an ANR in my application, following is a snippet of the log associated with the ANR,
"HeapTaskDaemon" daemon prio=5 tid=6 Blocked
| group="system" sCount=1 dsCount=0 obj=0x12c9bc40 self=0xb93a6020
| sysTid=15299 nice=0…

Sreekanth Karumanaghat
- 3,383
- 6
- 44
- 72
4
votes
0 answers
When I open another app on my android I receive Fatal signal 6 (SIGABRT)
My app opens a png image. When I send to print, my application stop and my console (logcat) just show the message:
Fatal signal 6 (SIGABRT), code -6 in tid 13555 (RenderThread)
In the tablet screen it shows: Application Not Responding (ANR).
I can…

DaniloLM
- 49
- 4
4
votes
0 answers
ANR on Android N using Nexus 6P
I'm testing App, and got ANR (only on Android N, and not on other version). It doesn't always happens and not always at the same place, and can't replicate whenever in debug mode.
The only pulling the traces.txt out using adb pull…

Elye
- 53,639
- 54
- 212
- 474
4
votes
0 answers
What could be reason for - ANR :Input dispatching timed out
When i am installing an application from google play getting
ANR: Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)`
But when…

Meghana M
- 535
- 4
- 21
4
votes
1 answer
Firebase ANR - Not even using firebase
With recent updates to GMS, a new ANR has been introduced. If you exit the app, and then return, that's when the ANR is initialized. The thread trace seems to point to Firebase, but I never even started using Firebase. I guess it must be part of the…

KairisCharm
- 1,363
- 1
- 13
- 32
4
votes
3 answers
ANR Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually)
A user of my app (Xperia Z1 Compact, Android 5.1) is experiencing a crash in my app when he is setting it up. Here's the workflow:
LaunchActivity is the Launch intent (noHistory=true, singleTask). It checks whether this is the app's first start or…

Made by FA
- 710
- 2
- 7
- 27
4
votes
1 answer
How ANR Error dialog box is shown on main thread
I was just facing ANR(Activity Not Responding) problem. I resolved thought but that ANR suddenly triggers a question in my mind.....
When ANR Occurs ?
Reason: When your activity allocates lot of memory in background or UI is
blocked more than 5…

Hardik Trivedi
- 5,677
- 5
- 31
- 51
4
votes
0 answers
Possible deadlock: ANR debugging
I have only recently started looking into ANR issues on android. I have a high level idea of what ANR is what could be its possible reasons. In the issue that I am working on however, I am not able to decipher as to what is exactly the problem.…

pareshnakhe
- 61
- 7
4
votes
3 answers
How to recursively scan directories in Android
How can I recursively scan directories in Android and display file name(s)? I'm trying to scan, but it's slow (force close or wait). I'm using the FileWalker class given in a separate answer to this question.

INCOGNITO
- 43
- 1
- 1
- 4
3
votes
5 answers
How to resolve the ANR error while invoking the Camera?
I have two button's in the main menu. I invoking the camera when I press the 1st button. Here I didn't get any issue. Camera working properly. After taking the picture, I come back in to main menu and again I press the 1st button. Here I got the…

bharath
- 14,283
- 16
- 57
- 95
3
votes
3 answers
Android not responding while trying to read from text or doc file
This related with my previous question after I changed readFile and make it read from URI for devices running in android 11 and above I got ANR error while I tried to read file
gif showing the error
this my full code
public class MainActivity…

Reginald D
- 43
- 5
3
votes
0 answers
ANR Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 }
I am getting some ANR reports on the Google Play console. It seems to affect every Android version and multiple devices.
I have the same ANR report both with stack trace (below) and with stack trace not available (the majority)
Does anyone have any…

keikei38
- 63
- 1
- 9