Android Robotium NoClassDefFoundError
问题 I was just trying to use Robotium in an Android JUnit Test, but the Testing always fails with an error: java.lang.NoClassDefFoundError: com.jayway.android.robotium.solo.Solo thrown at solo = new Solo(getInstrumentation(), getActivity()); in the setUp() method: protected void setUp() throws Exception { super.setUp(); solo = new Solo(getInstrumentation(), getActivity()); } I read somewhere that this could be related to the Android SDK revision 17, but I cannot confirm this, as I first tried