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修改后再次运行问题解决;



原文地址:https://www.cnblogs.com/Bella-fu/p/7595553.html