java.lang.NoClassDefFoundError: com.jayway.android.robotium.solo.Solo
at com.skymobi.android.qc.test.RobotTest.setUp(RobotTest.java:46)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
在eclipse中进行如下设置
at com.skymobi.android.qc.test.RobotTest.setUp(RobotTest.java:46)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
在eclipse中进行如下设置
- "Properties > Java Build Path > Libraries", delete "Android Dependencies" in my test project.
- "Properties > Java Build Path > Libraries", delete two robotium jar and click "Add JARs" to re-import robotium jar in my test project.
- "Properties > Java Build Path > Order and Export", check two checkbok of robotium jar (and othera you want exported.)
- Clean my test project.