Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

华为5X(KIW-TL00H)app-inspector -u 10.167.3.124:7589 --verbose 报错 #33

Open
zhangpeng23796 opened this issue Apr 4, 2018 · 0 comments

Comments

@zhangpeng23796
Copy link

app-inspector -u 10.167.3.124:7589 --verbose打开华为5X(KIW-TL00H)时报错,报错信息如下,其他机器没有问题。


  • version 2.0.14 is outdate *
  • run: npm i -g app-inspector@2.0.15 *

server.js:16:12 [master] pid:67918 server start with config:
{ port: 5678,
verbose: true,
udid: '10.167.3.124:7589',
ip: '10.167.44.71',
host: 'zhanghuijideMacBook-Pro.local',
loaded_time: '2018-04-04 16:55:40' }
app-inspector.js:45:12 [master] pid:67918 server start at: http://10.167.44.71:5678
uiautomator-client.js:75:14 [master] pid:67918 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:75:14 [master] pid:67918 INSTRUMENTATION_STATUS: stream=
UIAutomatorWD->http://localhost:9004<-UIAutomatorWD
INSTRUMENTATION_STATUS_CODE: 0

UIAutomatorWD http server ready
Android device started: 10.167.3.124:7589
inspector start at: http://10.167.44.71:5678
<-- GET /
proxy.js:55:14 [master] pid:67918 Proxy: /wd/hub/session/:sessionId/source:GET to http://127.0.0.1:9004/wd/hub/session/:sessionId/source:GET with body: null
proxy.js:63:22 [master] pid:67918 UIAutomatorWD client proxy error with: Error: socket hang up

以下是macaca doctor信息:
macaca-doctor version: 2.0.12

Node.js checklist:

node env: /usr/local/bin/node
node version: v9.3.0

iOS checklist:

Xcode Command Line Tools is ready, version: 2349.
xcodebuild version: 9.1
iproxy[usbmuxd] is installed at: /usr/local/bin/iproxy
ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy
carthage is installed, version: 0.27.0

Android checklist:

JAVA version is 1.8
JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
ANDROID_HOME is set to /Users/zhj/android-sdk-macosx
Platforms is set to /Users/zhj/android-sdk-macosx/platforms/android-27
ADB tool is set to /Users/zhj/android-sdk-macosx/platform-tools/adb
gradle is installed, version: 4.4

Installed driver list:

android: 2.0.47
chrome: 1.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant