This question already has answers here:
Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'
                                
                                    (6个答案)
                                
                        
                                6年前关闭。
            
                    
尝试运行android测试用例时,我得到以下两行内容:

[2013-04-22 17:11:10 - ProjectTest] Launching instrumentation android.test.InstrumentationTestRunner on emulator-5554
[2013-04-22 17:11:12 - ProjectTest] Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'


我相信我需要在我的构建路径中包含一个jar。我需要包括哪个罐子的任何想法?

最佳答案

我想您应该在Internet上进行研究或在Stackoverflow上进行搜索。 Stackoverflow中有一个类似的问题陈述:Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

关于android - 找不到android.test.InstrumentationTestRunner类,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/16172704/

10-11 22:33
查看更多