提前配好adb环境,手机调开发者模式 - USB调试 电脑连接手机,cmd命令框输入: adb logcat -b all -v threadtime > E:\log.txt E:\log.txt为log路径及文件名