相同环境下,使用三星 A9100 Android 6.0.1系统,没有问题
app inspector version / 版本号:
1.2.18
os version / 系统:
Mac 10.12.1
device information / 设备版本:
Nexus 6
版本号:NBD90Z
terminal log / 终端输出信息:
➜ ~ app-inspector -u ZX1G423SCH —-verbose
Warning: This version of UI Automator is deprecated. New tests should be written using
UI Automator 2.0 which is available as part of the Android Testing Support Library.
See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html
for more details.
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.android.uiautomator.client.Initialize:
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: test=testStartServer
INSTRUMENTATION_STATUS: class=com.android.uiautomator.client.Initialize
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1
uiautomator start socket server.
>> socket server ready
>> socket client ready
>> Android device started: ZX1G423SCH
>> inspector start at: http://172.16.24.87:5678
recive: {"cmd":"getSource","args":{}}
return: {"success":true,"data":{"status":0,"value":true}}
Error: Command failed: /bin/sh -c /Users/smzdm/Documents/01_Android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s ZX1G423SCH shell "cat /data/local/tmp/macaca-dump.xml"
/system/bin/sh: cat: /data/local/tmp/macaca-dump.xml: No such file or directory
at ChildProcess.exithandler (child_process.js:203:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Socket. (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
--> GET /favicon.ico 404
try app-inspector -u xxxx --verbose for more log detail.