How to send Android Crash report using ACRA

后端 未结 3 1742
灰色年华
灰色年华 2021-02-02 03:54

Am trying to send crash report from my applicatio to my domain or Mail but failed still.

To get the crash report in mail, I did

@ReportsCrashes(

            


        
3条回答
  •  故里飘歌
    2021-02-02 04:41

    ACRA works for me sending reports by e-mail when I do exactly as they say in their docs:

    @ReportsCrashes(mailTo = "reports@yourdomain.com", // my email here
                    mode = ReportingInteractionMode.TOAST,
                    resToastText = R.string.crash_toast_text)
    

    https://github.com/ACRA/acra/wiki/Report-Destinations#sending-reports-by-email

    You are probably forgetting the toast part. Or can it be you don't have an e-mail program (such as when you're running on the simulator).

    I think sending reports by Google docs are not supported anymore.

提交回复
热议问题