title: Robolectric ShadowActivity error
body: <p>I am starting to get familiar with Robolectric to create unit tests for Android applications.</p>
  
  <p>My initial test:</p>
  
  <pre><code>@RunWith(RobolectricTestRunner.class)
  public class MainActivityTest {
  private MainActivity mainActivity;
  
  @Before
  public void setUp() throws Exception {
      mainActivity = Robolectric.buildActivity(MainActivity.class).create().get();
      mainActivity.onCreate(null);
  }
  
  @Test
  public void sample() throws Exception {
      ShadowActivity act = Robolectric.shadowOf(mainActivity);
  }
  
  }
  </code></pre>
  
  <p>But <code>Robolectric.shadowOf(mainActivity)</code> gives me an error:</p>
  
  <pre><code>The type android.animation.Animator cannot be resolved. It is indirectly referenced from required .class files
  </code></pre>
  
  <p>Any ideas why? I have created simple android app with Android API Level 8. For the tests, I have Robolectric 2.1 jar</p>