2016-06-21 37 views
0

我是新来ACRA,我有一个问题:有没有办法发送logcat没有任何崩溃?Android ACRA发送日志无故障

对于例如:当用户关闭应用程序... ACRA刚刚过去的日志发送到服务器

感谢

+0

https://github.com/ACRA/acra/wiki/AdvancedUsage#sending-reports-for-caught-exceptions-or-for-unexpected-application-state-without-any-exception – CommonsWare

回答

2

您可以发送使用ErrorReporter.handleException与参数null随时报告(或异常你刚刚创建或捕获)。

但是,仅发送logcat是不可能的,除非将ACRA配置为始终这样做。