Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
660 views
in Technique[技术] by (71.8m points)

android - How to get crash dialog with report button

I purposely make my own application crash. I get the following dialog.

enter image description here

However, I wish to get the following crash dialog with report button.

enter image description here

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

Edit: Also, you can catch this information and file a report yourself if you want, using this method.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...