Android app crash detection

I create an application that sometimes crashes, I want to know that it crashed the next time I opened it, so I can offer the user some options after the crash. How can I detect a crash? In addition, I want to be able to save the user's work before it works, I mean the detection of real-time failures, can I do this without knowing where it crashed?

+4
source share
5 answers

You will need to know where it crashed in order to install the blocks try/ catchin the right place, er, catchcrash and save the data or whatever you have in mind.

"" , .

, / Java, , onDestroy, , try/catch, , , . , , .

+3

ACRA. , , , .

+2

try/catch blocks, Exception catch.

+1

UncaughtExceptionHandler , - -.

+1

ACRA .

BugSnag. , , AppSee.

AppSee , . , .

0

Source: https://habr.com/ru/post/1608213/


All Articles