Appium ride+appium 执行脚本报错:Failed to start an Appium session, err was: Error: Command failed: error: unknown host service

CoffeeLost · 2017年07月13日 · 493 次阅读

环境搭建完毕后,启动 appium,在 ride.py 中执行脚本。就是打开应用的最基本的。然后就一直报错报错。
ride 中报错:WebDriverException: Message: A new session could not be created. (Original error: Command failed: error: unknown host service
appium 中报错:
error: Failed to start an Appium session, err was: Error: Command failed: error: unknown host service

info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Error: Command failed: error: unknown host service

at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket. (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: error: unknown host service\r\n)","killed":false,"code":1,"signal":null,"origValue":"Command failed: error: unknown host service\r\n"},"sessionId":null}
info: <-- POST /wd/hub/session 500 8490.966 ms - 254

怎么解决怎么解决

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