1、使用Android可视化工具monitor,通过id定位问题发生的类及对象
2、打印log获取参数值及流程
3、通过
dumpsys window | grep -i "focuse" 获取进程包名
ps -A | grep "包名" 查看进程id
logcat --pid 进程id 查看进程log,通过点击应用程序获取各阶段日志
logcat -s DEBUG 获取底层报错日志
1、使用Android可视化工具monitor,通过id定位问题发生的类及对象
2、打印log获取参数值及流程
3、通过
dumpsys window | grep -i "focuse" 获取进程包名
ps -A | grep "包名" 查看进程id
logcat --pid 进程id 查看进程log,通过点击应用程序获取各阶段日志
logcat -s DEBUG 获取底层报错日志