美文网首页
INSTRUMENTATION_RESULT: longMsg=

INSTRUMENTATION_RESULT: longMsg=

作者: 初心不忘J | 来源:发表于2017-06-29 15:27 被阅读0次

一、问题
今天反复运行case的时候发现一只报如下错误:
INSTRUMENTATION_RESULT: shortMsg=java.lang.IllegalStateException
INSTRUMENTATION_RESULT: longMsg=UiAutomationService android.accessibilityservice.IAccessibilityServiceClient$Stub$Proxy@713a281already registered!
二、解决方案:
原因:前一次运行的还没停止。
要注意uiautomator进程系统只能有一个,如果前一次的未完成,马上又启动一次就会出现already registered!
结束uiautomator的方法
1、查询uiautomator进程 windows系统方式 adb shell ps | find “uiautomator”
2、结束进程 第一步查询出pid,然后运行 adb shell kill <查询到的pid >
三、参考:
https://wenda.jikexueyuan.com/question/25363/

相关文章

网友评论

      本文标题:INSTRUMENTATION_RESULT: longMsg=

      本文链接:https://www.haomeiwen.com/subject/pjgmcxtx.html