JakeWharton/ActionBarSherlock — Issue #89: SDK 14 FragmentActivity testing issues
Author: francisdb
Created: 2011-10-21 21:11:53+00:00
State: open

I still am not able to get my tests running correctly with the latests sdk release. I have the impression that only activities extending FragmentActivity cause problems.

2 Issues:
* ...Caused by: java.lang.NoClassDefFoundError: com.myapp.ui.MyFragmentActivity" causing the tests to not even start (ActivityInstrumentationTestCase2)
* When calling getActivity() I get this: java.lang.RuntimeException: Unable to resolve activity for: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.myapp.ui/.MyFragmentMapActivity }

Both of these activities work perfectly fine outside of testing.