崩溃android上的ACRA对话框和电子邮件目的地

崩溃android上的ACRA对话框和电子邮件目的地,android,acra,Android,Acra,我正在尝试使用acra添加发送给我的电子邮件支持的崩溃转储。 我相信有一个选项可以显示重启应用程序时的对话框 下面是我的报告 @ReportsCrashes(formKey="dGVacG0ydVHnaNHjRjVTUTEtb3FPWGc6MQ", mode = ReportingInteractionMode.DIALOG, customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAM

我正在尝试使用acra添加发送给我的电子邮件支持的崩溃转储。 我相信有一个选项可以显示重启应用程序时的对话框

下面是我的报告

    @ReportsCrashes(formKey="dGVacG0ydVHnaNHjRjVTUTEtb3FPWGc6MQ",
mode = ReportingInteractionMode.DIALOG,
customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME,
        ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA,
        ReportField.STACK_TRACE, ReportField.LOGCAT },                

resToastText = R.string.crash_toast_text, // optional, displayed as soon as the crash occurs, before collecting data which can take a few seconds
resDialogText = R.string.crash_dialog_text,
resDialogIcon = android.R.drawable.ic_dialog_info, //optional. default is a warning sign
resDialogTitle = R.string.crash_dialog_title, // optional. default is your application name
resDialogCommentPrompt = R.string.crash_dialog_comment_prompt, // optional. when defined, adds a user text field input with this text resource as a label
resDialogOkToast = R.string.crash_dialog_ok_toast // optional. displays a Toast message when the user accepts to send a report.
)

我不认为有一个选项可以显示重新启动应用程序时的对话框,它通常显示在应用程序被终止前崩溃发生的时间。但是您的配置对于对话框显示看起来是正确的


一句警告的话,使用谷歌文档来捕获崩溃报告现在已经被弃用了。您应该寻找另一个崩溃报告后端,如Acralyzer。

如果我添加了mailto选项,我看不到任何准备或发送电子邮件的操作。我只是想谢谢你