Android和IOS获取crash信息
16lz
2021-01-24
测试过程遇到crash和ANR,需要及时获取程序log
1.1) android获取log:adb logcat> d:\crash.log
经常我们不连接着logcat去操作手机,还有一条救命的查看crash信息的方法:
adb logcat -d >d:\\tt.txt
-d 命令能够把系统中缓存的logcat输出出来。
1.2)导出堆栈信息:adb pull /data/anr/traces.txt d:/
2) IOS一般通过mac本上的Xcode->windows->organize->devices log里面得到.crash文件,crash会以应用程序命名。
更多相关文章
- 8大你不得不知的Android调试工具
- Android(安卓)NIO简易聊天室
- Android参考
- Android软件的自动更新
- android adb 使用初阶
- Android之JNI续
- Android打印堆栈
- Android(安卓)MMS专题
- Android(安卓)断点续传的原理剖析与实例讲解