Macaca 急问:app-inspector -u WTKDU17111000609 报错,找不到应用程序,怎么解决

wywy · 2017年12月13日 · 最后由 达峰的夏天 回复于 2018年03月11日 · 1927 次阅读

服务端报错信息
C:\Users\ABC>macaca server --verbose

index.js:18:12 [master] pid:57880 webdriver server start with config:
{ port: 3456,
verbose: true,
always: true,
ip: '192.168.2.48',
host: 'ABC-PC',
loaded_time: '2017-12-13 17:03:31' }
middlewares.js:17:10 [master] pid:57880 base middlewares attached
router.js:133:10 [master] pid:57880 router set
webdriver sdk launched
responseHandler.js:11:12 [master] pid:57880 Recieve HTTP Request from Client[2017-12-13 17:26:54]: method: POST url: /wd/hub/session, jsonBody: {"d
esiredCapabilities":{"reuse":3,"package":"com.tencent.mm","activity":".ui.LauncherUI","platformVersion":"7.0","androidProcess":"com.tencent.mm:tools",
"platformName":"android","udid":"WTKDU17111000609","deviceName":"Honor 8","autoAcceptAlerts":true}}
session.js:47:10 [master] pid:57880 Creating session, sessionId: 89936f39-c27d-4e2f-ad7d-717562000be7.
uiautomator-client.js:61:14 [master] pid:57880 INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.macaca.android.testing.UIAutomatorWD:
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test=MacacaTestRunner
INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1

uiautomator-client.js:61:14 [master] pid:57880 INSTRUMENTATION_STATUS: stream=
UIAutomatorWD->http://localhost:50196<-UIAutomatorWD
INSTRUMENTATION_STATUS_CODE: 0


输入 app-inspector -u WTKDU17111000609 报一下信息,提示弹框:找不到应用程序

C:\Users\ABC>app-inspector -u WTKDU17111000609

UIAutomatorWD http server ready
Android device started: WTKDU17111000609
inspector start at: http://192.168.2.48:5678
{ Error: Command failed: start http://192.168.2.48:5678
????????

at ChildProcess.exithandler (child_process.js:210:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
killed: false,
code: 1,
signal: null,
cmd: 'start http://192.168.2.48:5678' }

这个怎么解决啊,是哪里不对?

共收到 1 条回复 时间 点赞

macaca doctor?

wywy 关闭了讨论 05月17日 10:27
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册