0

I am using Huawei Mate 10 with 8.0 OS. The problem I'm facing is it doesn't show any kind of app crashing dialog. When any run time error occurs, Activity closes automatically without showing any crash dialog in this situation all the crash logs are removed in my Android studio Logcat and I'm not able to catch the error. Is there any way to hold crash dialog because ANR dialog does not clear the logcat till i close dialog. Thankyou...

Chetan Ansel
  • 398
  • 2
  • 20

1 Answers1

1

in this situation all the crash logs are removed in my Android studio Logcat and I'm not able to catch the error

It's annoying behaviour but they are not actually removed, only hidden. To see them after the crash, set Show only selected application on the Logcat panel to No filters and set Verbose dropdown to Error to easily find the correct logs

Nick Cardoso
  • 20,807
  • 14
  • 73
  • 124