How to send Android Crash report using ACRA

后端 未结 3 1738
灰色年华
灰色年华 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:48

    No,not like Alex say,the mode property has no releation to the reporting type,you can see it in the source code in github using the mailTo type,you should make sure that:

    1. your app has the permission to connect network;
    2. have an e-mail program in your device like Alex say;
    3. have you invoked the ACRA.init(this) method in your application's oncreate()?

    if all of these have done,then run your app,it will note you to configure the email,such as username and password and so on.

提交回复
热议问题