Questions tagged [anr]

21 questions
10
votes
1 answer

ANRs - com.google.android.apps.wellbeing

I get this stack trace from the Google Pre-Launch report: Here is ANR report ANR in com.google.android.apps.wellbeing;PID: 1269;Broadcast of Intent { act=android.intent.action.LOCALE_CHANGED…
Vahe Gharibyan
  • 5,277
  • 4
  • 36
  • 47
9
votes
1 answer

art::ConditionVariable::WaitHoldingLocks(art::Thread*)

Our mobile app is published in the Google play store. The Crashes and ANR report is generated in Firebase Crashlytics. There is an ANR shown as…
2
votes
0 answers

android custom IME getSelectedText blocks main thread

I have a soft keyboard app. I am trying to getSelectedText() of the EditText in order to handle occasions when user has selected some text. I need to do this because my app does not access the app views, because it is just the soft…
ZookKep
  • 481
  • 5
  • 13
2
votes
0 answers

Admob Ads Throw ANR com.android.webview.chromium.WebViewChromium.onDraw(WebViewChromium.java:9) ANR?

I search a lot on com.android.webview.chromium.WebViewChromium.onDraw(WebViewChromium.java:9) ANR (produced by AdMob ads) but no help found, most of the help is about Webview, I'm not using any Webview in my Application. In the Application Admob…
Yaqoob Bhatti
  • 1,271
  • 3
  • 14
  • 30
2
votes
1 answer

Android app freezes instead of getting crash in Jetpack Compose project

I implemented crashlytics in my android project. Now wanted to test crash and while I try to crash application by throwing Runtime exception in my compose project instead of crashing UI gets frozen forever. No ANR nothing just UI freeze. Anybody…
Ali Nawaz
  • 2,016
  • 20
  • 30
2
votes
0 answers

I have more crashes and ANR errors in the Google Play Developer Console than in the Firebase Crashlytics. Is that normal?

I have seen in the last 30 days the Crashes and ANR errors report of my app in both Firebase Crashlytics and Google Play Developer Console. This is what I have seen: Firebase Crashlytics: 5 Crashes/ANR in total Google Play Developer Console: 20…
Lechius
  • 189
  • 7
1
vote
3 answers

Android ANR when trying to release and stop MediaPlayer

I have the following method which simply request a .mp3 file from a URL, loads a MediaPlayer and shows or hide the play button depending if the URL was loaded or not: public class PlayMusicFragment extends Fragment { private MediaPlayer…
1
vote
0 answers

ANR: Native method - android.os.MessageQueue.nativePollOnce

We have in some games in Android a lot of issues with ANR. The most important I want to ask you is about Native method - android.os.MessageQueue.nativePollOnce Do you have the same ANR Problem? Did you resolved? How? Thank you :) I try to put all…
1
vote
1 answer

How the Firebase Crashlytics tags such as Early crashes, repetitive crashes, regression issue, Fresh issue etc work?

What is the logic behind calculating the tags such as Early crashes, repetitive crashes, regression issue, Fresh issue, etc which appear on crashlytics dashboard? Is there any reference available as I am unable to find out any information in the…
1
vote
0 answers

Android app is crashing but i can't reproduce the error. It looks like a native crash

I have a crash in crashlytics and i can't reproduce it all the time. This crash started since i updated the app to API lvl 32. Target versions: minSdkVersion 21 targetSdkVersion 32 compileSdkVersion 32 Here are some information about the crash.…
0
votes
0 answers

How to analyze Android ANR files

How can I analyze such an ANR file? For me, there's no clue, It looks like Native caused inputManager to be locked?How can I find the root cause of the problem and solve it?The device information and other information are as follows。or are there any…
H. Zen
  • 1
0
votes
0 answers

Google Play Console - Internal Testing - Where Are the ANRs?

Can I view the ANR reports for my Internal Test releases? (Or any test releases for that matter?) For Production releases, there's and ANR widget on the main dashboard. For Internal Testing, there's nothing. Are the ANRs hidden somewhere? Thanks!
0
votes
1 answer

I am getting ANR in accessibility service at onEvent Method after calling event.getSource(); function

I am using Accessibility service in my application and getting ANR in onEvent method while calling event.getSource(); When i put this code in another thread, to resolve this above ANR it creates an exception: java.lang.IllegalStateException: Cannot…
Ahmad Ali
  • 23
  • 6
0
votes
1 answer

Why is my JSON Volley request causing ANR if it is Asynchronous in itself and the data transfer into my database is handled within an AsyncTask?(JAVA)

Just an FYI, this is my first time working with JSON, Volley, or ASyncTask. For a coding challenge I have to download a JSON array from a url into an android application and display the list of items after doing some editing and filtering. I am…
jwy205
  • 3
  • 2
0
votes
0 answers

Reason: Input dispatching timed out (ActivityRecord{ecaa4d2 u0 com../.ui..HomeActivity t3} does not have a focused window)

I got an ANR crash report like this Reason: Input dispatching timed out (ActivityRecord{ecaa4d2 u0 /.ui..HomeActivity t3} does not have a focused window) and trace shows: "main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1…
1
2