问题描述:

Where an Android app crashes and its not in debug mode, where can I retrieve the stacktrace?

网友答案:

Is this on your device?

I assume since your retrieving it you own it. Plug the device into the computer and via adb

issue

adb logcat > log.txt

(log.txt will be filled with a logcat of all stack traces and recent events). Hit CTRL C after about 10 seconds of data collection.

相关阅读:
Top