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

CoffeeLost · July 13, 2017 · 809 hits

环境搭建完毕后,启动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

怎么解决怎么解决

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up