Why my Android app crashes and throws ANR - How to understand the reason?

JassimRahmaJassimRahma USMember ✭✭✭✭

Hi,

My app is crashing and throwing ANR report in Google Play Console but I don't know why and where is the issue?

The error says:

Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50000010 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }

but where and in which page and which control or class?

This is the ANR report:

https://www.jeccd.ae/temp/Goole-ANR.rtf

Kindly help...

Thanks,
Jassim

Tagged:

Answers

  • YorkGoYorkGo CNMember, Xamarin Team Xamurai

    Do you have BroadcastReceiver that detect SCREEN_ON in your project?

  • JassimRahmaJassimRahma USMember ✭✭✭✭
    edited August 2018

    Nope.

    How can I do that in Xamarin Forms? and how to get the exact error to know which control is causing the issue?

Sign In or Register to comment.