Re: connectedCheck and NoClassDefFoundError

2014-05-13 Thread Thomas Bruyelle
Ok I found the problem, the error occurs only when the activity extends FragmentActivity from the support library. The tests works well when the activity extends Activity. It's an old problem of classpath conflict, I found a SO question on it [1], the fix is to exclude the support library from

connectedCheck and NoClassDefFoundError

2014-05-13 Thread Thomas Bruyelle
I don't understand the error I get when I run the connectedCheck task. The error occurs during the connectedAndroidTest subtask : android.test.suitebuilder.TestSuiteBuilder$FailedToCreateTests > testSuiteConstructionFailed[GT-I9505 - 4.4.2] FAILED java.lang.RuntimeException: Exception during su