如何获得与报告按钮错误对话框 [英] How to get crash dialog with report button
问题描述
我故意让自己的应用程序崩溃。我碰到下面的对话框。
I purposely make my own application crash. I get the following dialog.
不过,我希望得到与报告按钮下面的错误对话框。
However, I wish to get the following crash dialog with report button.
我想知道我怎么可以这样做?我签署了我的申请。 (但我在本地转移APK到我的手机,而不是通过安卓市场)。我仍然无法获得报告
按钮。
May I know how I can do so? I had signed my application. (But I transfer the APK locally to my phone, not through Android market). I still can't get the Report
button.
推荐答案
据我所知,报告
按钮只有当应用程序通过市场安装说明(即签订,而不是在调试模式下也不能与调试键)。这个数据是,如果你是USB调试全部显示在LogCat中。
As far as I know, the Report
button only shows when the app is installed via the Market (i.e. is signed and not in debug mode nor with a debug key). This data is all shown in LogCat if you are USB debugging.
修改:另外,您可以捕捉这些信息,并自己提交报告,如果你想使用<一个href="http://stackoverflow.com/questions/601503/how-do-i-obtain-crash-data-from-my-android-application">this方法。
Edit: Also, you can catch this information and file a report yourself if you want, using this method.
这篇关于如何获得与报告按钮错误对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!