INSTRUMENTATION_STATUS_CODE: -1,Error=Unable to find instrumentation info for

 

 

 自动化用例在本地运行runner时正常,在jenkins上运行报错如下:

原因:找不到这个instrumentation

com.yuhj.ontheway.test.test/com.yuhj.ontheway.test.test.Runner.Runner01
用adb命令查看手机上运行的instrumentation :adb shell pm list instrumentation

对比发现我们的instrumentation写错了,应该写:com.yuhj.ontheway.test.test/runner.Runner01修改后再次运行问题解决;



posted @ 2017-09-26 10:46  一块糖  阅读(647)  评论(0编辑  收藏  举报