Appium Appium inspetor 无法运行

Anson · 2014年01月28日 · 最后由 Anson 回复于 2014年01月29日 · 2101 次阅读

Appium 是最新版的 0.14.2
AppPath 无论选不选,都无法运行 inspetor。
Python 测试脚本可以正常运行,并打开 ios 模拟器。
mac 版本是 10.09 的,xcode 是 5.0.2 的,
大家有遇过这种情况么?

debug: Appium request initiated at /wd/hub/status

info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.14.2","revision":"113e796b850b28e7066fe472faf8554b73b6299d"}}}

debug: Request received with params: {}
debug: Appium request initiated at /wd/hub/sessions
debug: Request received with params: {}
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{}}
error: A valid device type is required in the capabilities list
error: Failed to start an Appium session, err was: Error: A valid device type is required in the capabilities list

GET /wd/hub/status 200 1ms - 144b
info: Responding to client with success: {"status":0,"value":[]}
GET /wd/hub/sessions 200 12ms - 32b
info: Got configuration error, not starting session
info: Cleaning up appium session
info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: A valid device type is required in the capabilities list)","origValue":"A valid device type is required in the capabilities list"},"sessionId":null}
POST /wd/hub/session 500 4ms - 262b
共收到 6 条回复 时间 点赞

Original error: A valid device type is required in the capabilities list)","origValue":"A valid device type is required in the capabilities list"},"sessionId":null}

#1 楼 @lihuazhang
也看到了 error 信息,在 appium google group 上也谈到这个问题,似乎还没有人提供解决方法。
https://groups.google.com/forum/#! msg/appium-discuss/_cpU7V7OMUI/fVOHY20zLj8J

重新安装回 0.13 版本,就 OK 了,看来是最新版本 0.14 的问题。

#3 楼 @532589730 这么早上班了啊?

#4 楼 @lihuazhang
年初五就上班了,本来是初四上班的,初三刚好是礼拜,补假一天。

升级到最新的 0.15 版本,还是有此问题,不知道为啥官网没修复此问题。

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