Questions tagged [anr]

21 questions
0
votes
0 answers

How to get coroutineScope If i just have a handle to view

We have extended android.content.res.Resource class and have our - public String getString(int id) throws NotFoundException { String value = null; try { value = getStringFromRepository(id); ***// Should be running in IO thread*** …
0
votes
1 answer

Android 13 issue with ANR handling

I know that the following is against all Android best practices... So please be kind with me :-) We have a big legacy software that is not easy to be transformed. The app does do way to much things on the UI Thread. So, under certain circumstances,…
0
votes
0 answers

getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS) cause ANR on android 11 and android 12

this is my code fun createDirDownload(): File { val fileDir = activity?.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS)!! if (!fileDir.exists()) { fileDir.mkdirs() } return fileDir } The…
0
votes
1 answer

com.google.android.c2dm.intent.RECEIVE flg=0x1080010 pkg=com.example.pkg cmp=com.example.pkg/com.google.firebase.iid.FirebaseInstanceIdReceiver

Hello Friends i Recive tons of ANR'S on Play Console ANR is Generated when App is Close and FCM is Received any one can please help me thanks in Advance when=-5s587ms what=113 target=android.app.ActivityThread$H obj=ReceiverData{intent=Intent {…
-1
votes
0 answers

Trying to fix ANR errors on Unity mobile game

I get ANR errors on my unity game, and the ANR rate starting to become too high, I try to find a way to fix or ignore this errors or even get more data about this errors but I didn't find anything helpful about this on the web. I just find a plugin…
Noam Riahi
  • 153
  • 1
  • 11
-1
votes
2 answers

ANR in Android - Application Not Responding

please fin the stack trace below. ANR occuring some times in screen, this is the stack trace i got in logcats. we are doing some bitmap processing before this, so not sure if its related to memmory or something. please fin the stack trace below. ANR…
SHIJO CS
  • 64
  • 1
  • 13
1
2