运行时异常被发现与ACRA和logcat中不显示 [英] Runtime exceptions are caught with ACRA and not displayed on Logcat
问题描述
我已经成功实施 ACRA(Android的应用程序崩溃报告)对我的项目和错误报告发送到谷歌文档正确。
但...
当异常发生在我的应用程序,它不显示在我的logcat的,这是我所得到的:
I have successfully implemented ACRA(Application Crash Report for Android) on my project and error reports are sent to Google docs correctly. But... when an exception happens on my app, it doesnt show up on my logcat and this is what i get:
ACRA caught a RuntimeException exception for com.my.project. Building report.
所以ACRA捕获错误,不会让logcat的显示屏发生了什么事。我目前正在开发我的申请,不必打开谷歌文档的每一个问题发生的时间。我应该在发展禁用ACRA并使其生产?
So ACRA catches errors and doesn't let Logcat display what happened. I'm currently developing my application and i don't have the time to open Google docs for every issue happens. Should i disable ACRA on development and enable it on production?
推荐答案
您过滤logcat的?在我的应用程序,我可以看到在logcat中甚至与ACRA的错误,但他们的水平降低到一个警告,而不是错误。
Are you filtering the logcat? In my apps, I can see the errors in the logcat even with ACRA, but their level is reduced to a warning, instead of an error.
尝试降低您的LogCat中的过滤。
Try lowering your filtering of the LogCat.
这篇关于运行时异常被发现与ACRA和logcat中不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!