当前位置: 动力学知识库 > 问答 > 编程问答 >

proguard - Where is stacktrace file located for Android application when it crashes?

问题描述:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: