STF查找到设备,但是使用手机红屏,unknown的解决办法
2021-04-26 15:12 Tanwheey 阅读(321) 评论(0) 编辑 收藏 举报问题展示:
日志:
2021-04-26T09:43:56.648483019Z 2021-04-26T09:43:56.648Z FTL/device:plugins:screen:stream 415 [33008167d0032569] Frame producer had an error FailError: Failure: 'closed' 2021-04-26T09:43:56.648511355Z at /app/node_modules/adbkit/lib/adb/parser.js:183:29 2021-04-26T09:43:56.648518517Z at runCallback (timers.js:789:20) 2021-04-26T09:43:56.648522721Z at tryOnImmediate (timers.js:751:5) 2021-04-26T09:43:56.648526654Z at processImmediate [as _immediateCallback] (timers.js:722:5) 2021-04-26T09:43:56.649306279Z 2021-04-26T09:43:56.649Z FTL/util:lifecycle 415 [33008167d0032569] Shutting down due to fatal error
原因分析:
一、根据日志查询可能是adb 连接断开了,进行插拔usb接口重试,成功。
二、小米手机降版本到miui10以下即可:https://github.com/DeviceFarmer/minicap/issues/6,方法:http://www.miui.com/shuaji-329.html