protolog log抓取及查看
adb shell wm logging enable WM_DEBUG_RECENTS_ANIMATIONS
(WM_DEBUG_RECENTS_ANIMATIONS TAG 这个就是需要抓取的TAG 给其使能)
adb shell wm logging start
adb shell wm logging stop
adb pull /data/misc/wmtrace/wm_log.pb E:\project
抓取到pb日志,使用winscope.html打开进行分析
D:\tools\winscope.html
winscope工具链接:
通过百度网盘分享的文件:winscope.html
链接:https://pan.baidu.com/s/1a2imJPpEntBoAy-PoDRtcQ?pwd=o80s
提取码:o80s
–来自百度网盘超级会员V5的分享