The Android "Application Not Responding" dialog message
Questions tagged [android-anr-dialog]
384 questions
0
votes
2 answers
ANR for my IntentService
I have an IntentService that creates a new thread and runs a long operation.
@Override
protected void onHandleIntent(Intent intent) {
Log.d(TAG, "onHandleIntent at " + Calendar.getInstance().getTime());
new Thread() {
…

user2488722
- 199
- 1
- 2
- 6
0
votes
1 answer
What to see in a Thread Dump
I have some applications published in Google Play Market and I keep getting an ANR (Application Not Responding) reports for keyDispatchingTimedOut in my MainActivity. As you know, Google provides me a Thread Dumps with it. I don't know how to…

SmT
- 323
- 6
- 18
0
votes
1 answer
Android setOnKeyListener causing ANR (Application Not Responding) prompt
I made a simple app that goes through all lines of a large (1.5MB) text file and displays each line that contains a specific word (the word is received from the user via an EditText).
The app definitely puts my device under a lot of strain while…

Eric Glass
- 141
- 3
- 12
0
votes
1 answer
Android error ANR when I make a lot of buttons
I don't understand about this problem. My android application need to generate Custom button.
It can work if I have less than 144 buttons but if I generate button more over 144 buttons.
it can't work(Forcse Closed) and show error in log cast like…

Fame th
- 1,018
- 3
- 17
- 37
0
votes
0 answers
How to handle ANR issue when application is idle
My BB10 ported android Application ,if kept idle for 15 mins,I am getting this ANR issue,How to handle this scenario.
I am not able to reproduce in my device,But I am getting this issue in client device.I am not able to reproduce this issue.

Rakesh
- 14,997
- 13
- 42
- 62
0
votes
1 answer
how to fix my ANR by opening new screen
when I'm opening a new screen with a button my app won't respond and show up ANR,
because it costs my app to long for loading the page but I don't know how to fix my problem.
it works on a older android device but on my device the app has been…

ILikeAndroid
- 3
- 2
- 8
0
votes
0 answers
What's wrong with my Android multi-threading?
I have an app that sends and receives data from a server. Each of these requests is made by creating a new thread to prevent locking up the UI. On my device and in testing I'm not getting any ANRs, but it appears other users will encounter them…

BrandonO
- 231
- 2
- 10
0
votes
2 answers
Loading image from url but ANR shows and force closes the application
Hi my app is about parsing xml file and then load the image from url and also the text and display it in a list view, but whenever am loading the image from url and while scrolling the list view little down it can't load the image properly and it…

ayansinha
- 85
- 1
- 12
0
votes
1 answer
Does Multiple Instances of the same Broadcast Receiver is the cause of ANR (Freezing) in my App?
My app's structure is made of a service running in the background Listening for push messages and forwards these messages to be inserted in DB, Displayed as Notifications or Sent to Chat Activity if the chat window of the chatter is opened and in…

Shehabic
- 6,787
- 9
- 52
- 93
0
votes
0 answers
ANR only on Android 2.2 Want to solve
I am getting an ANR on Android 2.2
I noticed it on one device and thought it was just slow, but proceeded to try to optimize. Now I tried it on an emulator so I could get the error log (because StrictPolicy is not available on Android 2.2) and I do…

CQM
- 42,592
- 75
- 224
- 366
0
votes
1 answer
Force close App after installing on device?
My App Installs successfully on device and emulator.In emulator it starts immediately but on some devices when user clicks on open button in activity that appears after installing App,"ANR" dialog appears and on other devices when user clicks open…

hasanghaforian
- 13,858
- 11
- 76
- 167
0
votes
0 answers
ANR on the emulator keyboard application
I have an application and I'm trying to test it on the emulator, and most of the times I get an ANR. However, it's not on my application, but on the keyboard application. Is there something wrong I might be doing that causes this, or is it an issue…

user940016
- 2,878
- 7
- 35
- 56
0
votes
1 answer
ANR on some devices when starting activitys
Im having a bug on some devices that sometimes give an ANR when starting a new activity.
I have a small degree of lag on my device (Samsung Galaxy S2) but I never get an ANR. The other devices that sometimes gets an ANR is: HTC Desire HD and…

Joakim Palmkvist
- 540
- 2
- 11
-1
votes
1 answer
UDP chat on android
I have a school assignment about building a UDP based chat client on android. Now, my first idea was to make an activity that starts a service and the service handle all the networking and the activity all the input an output. But a have found a…

Mockarutan
- 442
- 4
- 28
-1
votes
1 answer
android ANR after switching to a new activity
I am making an RPG and I started by making the battle system, then I decided to make the overworld a seperate activity so I copied the Game loop class and made a duplicate, when I switch to the battle mode class, none of the buttons respond and then…

GideonKain
- 744
- 1
- 12
- 27