Anr信息收集:
- ProcessErrorStateInfo
- tomstone信息
- 主线程的堆栈采样信息
- 主线程 Looper Message 历史调度的Message信息、当前处理的Message、未处理的Message队列
- App状态信息
- 应用前后台状态
- 应用运行时长
- ...
收集入口:
- 系统traces.txt(老版本可用,不建议使用)
- 使用Looper
- 字节码插桩技术(Gradle Plugin+ASM)
- ANRWatchDog
- ANRMonitor
- xCrash
- KOOM
参考连接
参考连接
本文标题:Android Anr线上监控
本文链接:https://www.haomeiwen.com/subject/wggydrtx.html
网友评论