TA的每日心情 | 奋斗 2017-4-1 09:18 |
---|
签到天数: 6 天 连续签到: 2 天 [LV.2]测试排长
|
6#
楼主 |
发表于 2017-4-13 09:50:50
|
只看该作者
本帖最后由 轻歌越野 于 2017-4-13 09:55 编辑
查看日志发现是这个问题:
info: [debug] Pushing command to appium work queue: ["pressKeyCode",{"keycode":1
23,"metastate":null}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action"
:"pressKeyCode","params":{"keycode":123,"metastate":null}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: pressKeyCode
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":13,"value":"Inject
ing to another application requires INJECT_EVENTS permission"}
info: [debug] Responding to client with error: {"status":13,"value":{"message":"
An unknown server-side error occurred while processing the command.","origValue"
:"Injecting to another application requires INJECT_EVENTS permission"},"sessionI
d":"100e1428-5c8f-4d92-b761-d300c3ec1dc6"}
然后找开发帮我获得了这个权限INJECT_EVENTS
还是没用,依然报这个错,已经快崩溃了
|
|