Skip to content Skip to sidebar Skip to footer

Actionbaractivity & Activityunittest - Namenotfoundexception

Ok...it is more likely to be my fault ;) When I do: public class XmlLifecycleTests extends ActivityUnitTestCase
{ ... (not in setUp) Intent intent = new Intent(

Solution 1:

It was indeed my fault...switching startActivity to:

setActivity(launchActivity(pkg, actClass, null));

Solved all my problems.

Post a Comment for "Actionbaractivity & Activityunittest - Namenotfoundexception"