So, I use Robotium, and my test class extends the ActivityInstrumentationTestCase2 class. I imported the v7 support library in my main project, as well as in the test project as libraries.
Now I donβt understand that the test class works when I change the test class to extend the Activity , but when I change it to ActionBarActivity , it returns a NoClassDefFoundError .
Did I miss something?
Here is the magazine I get
04-11 21:32:16.551: E/dalvikvm(23925): Could not find class 'com.example.project.ActivityClass', referenced from method com.example.project.tests.ActivityClass.<init>
java android unit-testing robotium android-actionbaractivity
John Ernest Guadalupe
source share