STF 手机连接 STF 可以查找设备,但是点击进入时,显示断开连接,手机提示如下

虎虎虎虎虎 · 2020年12月19日 · 最后由 陈恒捷 回复于 2020年12月30日 · 2955 次阅读

日志:

2020-12-30T09:43:56.643206551Z 2020-12-30T09:43:56.642Z INF/device:plugins:screen:stream 415 [977707a29807] Disconnecting from minicap service
2020-12-30T09:43:56.646204747Z 2020-12-30T09:43:56.646Z INF/device:plugins:screen:stream 415 [977707a29807] Stopping minicap service
2020-12-30T09:43:56.648483019Z 2020-12-30T09:43:56.648Z FTL/device:plugins:screen:stream 415 [977707a29807] Frame producer had an error FailError: Failure: 'closed'
2020-12-30T09:43:56.648511355Z     at /app/node_modules/adbkit/lib/adb/parser.js:183:29
2020-12-30T09:43:56.648518517Z     at runCallback (timers.js:789:20)
2020-12-30T09:43:56.648522721Z     at tryOnImmediate (timers.js:751:5)
2020-12-30T09:43:56.648526654Z     at processImmediate [as _immediateCallback] (timers.js:722:5)
2020-12-30T09:43:56.649306279Z 2020-12-30T09:43:56.649Z FTL/util:lifecycle 415 [977707a29807] Shutting down due to fatal error
2020-12-30T09:43:56.663155406Z 2020-12-30T09:43:56.662Z INF/provider 44 [*] Cleaning up device worker "977707a29807"
2020-12-30T09:43:56.663740662Z 2020-12-30T09:43:56.663Z ERR/provider 44 [*] Device worker "977707a29807" died with code 1
2020-12-30T09:43:56.663967454Z 2020-12-30T09:43:56.663Z INF/provider 44 [*] Restarting device worker "977707a29807"
2020-12-30T09:43:57.578706931Z 2020-12-30T09:43:57.576Z INF/device:support:push 427 [977707a29807] Sending output to "tcp://127.0.0.1:7116"
2020-12-30T09:43:57.581376196Z 2020-12-30T09:43:57.581Z INF/device 427 [977707a29807] Preparing device
2020-12-30T09:43:58.138011768Z 2020-12-30T09:43:58.137Z INF/device:support:sub 427 [977707a29807] Receiving input from "tcp://127.0.0.1:7114"
2020-12-30T09:43:58.139613029Z 2020-12-30T09:43:58.139Z INF/device:support:sub 427 [977707a29807] Subscribing to permanent channel "*ALL"
2020-12-30T09:43:58.203270048Z 2020-12-30T09:43:58.203Z INF/device:support:properties 427 [977707a29807] Loading properties
2020-12-30T09:43:58.270108960Z 2020-12-30T09:43:58.269Z INF/device:support:sdk 427 [977707a29807] Supports SDK 28
2020-12-30T09:43:58.271373211Z 2020-12-30T09:43:58.271Z INF/device:support:abi 427 [977707a29807] Supports ABIs armeabi-v7a, armeabi
2020-12-30T09:43:58.590679266Z 2020-12-30T09:43:58.590Z INF/device:resources:minicap 427 [977707a29807] Installing "/app/node_modules/minicap-prebuilt-beta/prebuilt/armeabi-v7a/bin/minicap" as "/data/local/tmp/minicap"
2020-12-30T09:43:58.592526633Z 2020-12-30T09:43:58.592Z INF/device:resources:minicap 427 [977707a29807] Installing "/app/node_modules/minicap-prebuilt-beta/prebuilt/armeabi-v7a/lib/android-28/minicap.so" as "/data/local/tmp/minicap.so"
2020-12-30T09:43:58.737749562Z 2020-12-30T09:43:58.737Z INF/device:resources:service 427 [977707a29807] Checking whether we need to install STFService
2020-12-30T09:43:58.821154985Z 2020-12-30T09:43:58.820Z INF/device:resources:service 427 [977707a29807] Running version check
2020-12-30T09:43:59.615699968Z 2020-12-30T09:43:59.615Z INF/device:resources:service 427 [977707a29807] STFService up to date
2020-12-30T09:43:59.618912383Z 2020-12-30T09:43:59.618Z INF/device:plugins:service 427 [977707a29807] Launching agent
2020-12-30T09:44:00.691079183Z 2020-12-30T09:44:00.690Z INF/device:plugins:service 427 [977707a29807] Agent says: "Listening on @stfagent"
2020-12-30T09:44:00.750338514Z 2020-12-30T09:44:00.750Z INF/device:plugins:service 427 [977707a29807] Launching service
2020-12-30T09:44:00.751253015Z 2020-12-30T09:44:00.750Z INF/device:plugins:service 427 [977707a29807] using 'start-foreground-service' command for API 28
2020-12-30T09:44:00.759657028Z 2020-12-30T09:44:00.759Z INF/device:plugins:service 427 [977707a29807] Agent says: "InputClient started"
2020-12-30T09:44:00.855683854Z 2020-12-30T09:44:00.855Z INF/device:plugins:display 427 [977707a29807] Reading display info
2020-12-30T09:44:00.901060867Z 2020-12-30T09:44:00.900Z INF/device:plugins:phone 427 [977707a29807] Fetching phone info
2020-12-30T09:44:00.933215325Z 2020-12-30T09:44:00.933Z INF/device:plugins:identity 427 [977707a29807] Solving identity
2020-12-30T09:44:00.940187093Z 2020-12-30T09:44:00.939Z INF/device:plugins:solo 427 [977707a29807] Subscribing to permanent channel "KKH+cu1tnTFMtxO4DY5yRp4V+Dk="
2020-12-30T09:44:00.942458904Z 2020-12-30T09:44:00.942Z INF/device:plugins:screen:stream 427 [977707a29807] Starting WebSocket server on port 7492
2020-12-30T09:44:01.266056144Z 2020-12-30T09:44:01.265Z INF/device:resources:minitouch 427 [977707a29807] Installing "/app/node_modules/minitouch-prebuilt-beta/prebuilt/armeabi-v7a/bin/minitouch" as "/data/local/tmp/minitouch"
2020-12-30T09:44:01.384346025Z 2020-12-30T09:44:01.381Z WRN/device:plugins:data 427 [977707a29807] Unable to find device data { serial: '977707a29807',
2020-12-30T09:44:01.384380175Z   platform: 'Android',
2020-12-30T09:44:01.384387522Z   manufacturer: 'XIAOMI',
2020-12-30T09:44:01.384393509Z   operator: ',',
2020-12-30T09:44:01.384399096Z   model: 'Redmi 8A',
2020-12-30T09:44:01.384464769Z   version: '9',
2020-12-30T09:44:01.384471463Z   abi: 'armeabi-v7a',
2020-12-30T09:44:01.384475971Z   sdk: '28',
2020-12-30T09:44:01.384480369Z   product: 'olivelite',
2020-12-30T09:44:01.384484699Z   cpuPlatform: 'msm8937',
2020-12-30T09:44:01.384505099Z   openGLESVersion: '3.2',
2020-12-30T09:44:01.384509879Z   marketName: 'Redmi 8A',
2020-12-30T09:44:01.384514597Z   display: 
2020-12-30T09:44:01.384519194Z    { id: 0,
2020-12-30T09:44:01.384523816Z      width: 720,
2020-12-30T09:44:01.384528089Z      height: 1520,
2020-12-30T09:44:01.384532597Z      xdpi: 268.9410095214844,
2020-12-30T09:44:01.384537293Z      ydpi: 269.9859924316406,
2020-12-30T09:44:01.384541524Z      fps: 60.000003814697266,
2020-12-30T09:44:01.384546037Z      density: 2,
2020-12-30T09:44:01.384550247Z      rotation: 0,
2020-12-30T09:44:01.384555583Z      secure: true,
2020-12-30T09:44:01.384559969Z      size: 6.234038954456329,
2020-12-30T09:44:01.384564386Z      url: 'ws://192.168.3.206:7492' },
2020-12-30T09:44:01.384568955Z   phone: { network: 'UNKNOWN' } }
2020-12-30T09:44:01.386984357Z 2020-12-30T09:44:01.386Z INF/device:plugins:touch 427 [977707a29807] Touch origin is top left
2020-12-30T09:44:01.388169486Z 2020-12-30T09:44:01.387Z INF/device:plugins:touch 427 [977707a29807] Requesting touch consumer to start
2020-12-30T09:44:01.389315698Z 2020-12-30T09:44:01.389Z INF/device:plugins:touch 427 [977707a29807] Launching touch service
2020-12-30T09:44:01.407310691Z 2020-12-30T09:44:01.407Z INF/device:plugins:touch 427 [977707a29807] Connecting to minitouch service
2020-12-30T09:44:01.491148118Z 2020-12-30T09:44:01.490Z INF/device:plugins:touch 427 [977707a29807] minitouch says: "Note: device /dev/input/mice is not supported by libevdev"
2020-12-30T09:44:01.582361050Z 2020-12-30T09:44:01.582Z INF/device:plugins:touch 427 [977707a29807] minitouch says: "Type B touch device fts_ts (720x1520 with 10 contacts) detected on /dev/input/event1 (score 22055)"
2020-12-30T09:44:01.730386468Z 2020-12-30T09:44:01.730Z INF/device:plugins:touch 427 [977707a29807] Reading minitouch banner
2020-12-30T09:44:01.738783011Z 2020-12-30T09:44:01.738Z INF/device:plugins:touch 427 [977707a29807] minitouch says: "Connection established"
2020-12-30T09:44:01.772519312Z 2020-12-30T09:44:01.772Z INF/device:plugins:vnc 427 [977707a29807] Starting VNC server on port 7494
2020-12-30T09:44:01.776216811Z 2020-12-30T09:44:01.776Z INF/device:plugins:browser 427 [977707a29807] Loading browser list
2020-12-30T09:44:01.800980286Z 2020-12-30T09:44:01.800Z INF/device:plugins:browser 427 [977707a29807] Updating browser list
2020-12-30T09:44:01.808129384Z 2020-12-30T09:44:01.807Z INF/device:plugins:mute 427 [977707a29807] Will not mute master volume
2020-12-30T09:44:02.121772826Z 2020-12-30T09:44:02.121Z INF/device:resources:minirev 427 [977707a29807] Installing "/app/vendor/minirev/armeabi-v7a/minirev" as "/data/local/tmp/minirev"
2020-12-30T09:44:02.223769296Z 2020-12-30T09:44:02.223Z INF/device:plugins:forward 427 [977707a29807] Launching reverse port forwarding service
2020-12-30T09:44:02.236097411Z 2020-12-30T09:44:02.235Z INF/device:plugins:forward 427 [977707a29807] Connecting to reverse port forwarding service
2020-12-30T09:44:02.480840008Z 2020-12-30T09:44:02.480Z INF/device 427 [977707a29807] Fully operational
共收到 3 条回复 时间 点赞

信息太笼统了,至少把相关 stf 服务的日志、手机 Logcat 、你这台手机的详细信息发一下?

2020-12-30T09:43:56.648483019Z 2020-12-30T09:43:56.648Z FTL/device:plugins:screen:stream 415 [977707a29807] Frame producer had an error FailError: Failure: 'closed'
2020-12-30T09:43:56.648511355Z     at /app/node_modules/adbkit/lib/adb/parser.js:183:29
2020-12-30T09:43:56.648518517Z     at runCallback (timers.js:789:20)
2020-12-30T09:43:56.648522721Z     at tryOnImmediate (timers.js:751:5)
2020-12-30T09:43:56.648526654Z     at processImmediate [as _immediateCallback] (timers.js:722:5)
2020-12-30T09:43:56.649306279Z 2020-12-30T09:43:56.649Z FTL/util:lifecycle 415 [977707a29807] Shutting down due to fatal error

看起来是 adb 连接断开了。有试过别的手机吗?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册