Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

来源:互联网 发布:美工是干嘛的 编辑:程序博客网 时间:2024/06/10 08:24

在使用android-junit-report-1.5.8.jar集成运行robotium test case过程中,出现集成错误:

Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

解决方法是在工程properties->Java Build Path中Order and Export检查junit.jar和android-junit-report-1.5.8.jar是否全被选中,如果没有,请选中。重新bulid即可

0 0
原创粉丝点击