I want to test out crash report using acra but the first step is I need to simulate a fatal crash in Android using code.
Any idea?
If you are using firebase crashlytics, then there is a very easy way to do this. Mentioned in their document also.
val crashlytics = FirebaseCrashlytics.getInstance() crashlytics.log("my message")