title: Android Lollipop Appcompat problems running with Robolectric
body: <p>I'm not able to run Robolectic test when using new Appcompat support library available since Android Lollipop came out. I've followed:</p>
  
  <ul>
  <li><a href="https://github.com/robolectric/deckard-gradle" rel="nofollow noreferrer">https://github.com/robolectric/deckard-gradle</a></li>
  <li><a href="https://chris.banes.me/2014/10/17/appcompat-v21/" rel="nofollow noreferrer">https://chris.banes.me/2014/10/17/appcompat-v21/</a></li>
  </ul>
  
  <p>My current progress is available here: <a href="https://github.com/fada21/android-tdd-bootstrap" rel="nofollow noreferrer">https://github.com/fada21/android-tdd-bootstrap</a></p>
  
  <p>My configuration (distilled) is:</p>
  
  <pre><code>android {
    compileSdkVersion 21
    buildToolsVersion "21.0.1"
  
  defaultConfig {
    applicationId "com.fada21.android.bootstrap"
    minSdkVersion 15
    targetSdkVersion 21
  </code></pre>
  
  <p>...</p>
  
  <pre><code>dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:support-v4:21.0.0'
    compile 'com.android.support:appcompat-v7:21.0.0'
  </code></pre>
  
  <p>...</p>
  
  <pre><code>androidTestCompile('org.robolectric:robolectric:2.4-SNAPSHOT') {
  </code></pre>
  
  <p>I've raised an issue here: <a href="https://github.com/robolectric/robolectric/issues/1332" rel="nofollow noreferrer">https://github.com/robolectric/robolectric/issues/1332</a> (look here for more details).</p>
  
  <p>This is errors I'm getting:</p>
  
  <pre><code>java.lang.RuntimeException: Could not find any resource  from reference ResName{com.fada21.android.bootstrap:style/Theme_AppCompat_Light_NoActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_NoActionBar'} with theme null
  at org.robolectric.shadows.ShadowAssetManager$StyleResolver.getParent(ShadowAssetManager.java:456)
  at org.robolectric.shadows.ShadowAssetManager$StyleResolver.getAttrValue(ShadowAssetManager.java:394)
  at org.robolectric.shadows.ShadowResources.getOverlayedThemeValue(ShadowResources.java:297)
  at org.robolectric.shadows.ShadowResources.findAttributeValue(ShadowResources.java:286)
  at org.robolectric.shadows.ShadowResources.attrsToTypedArray(ShadowResources.java:189)
  at org.robolectric.shadows.ShadowResources.access$000(ShadowResources.java:48)
  at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:494)
  at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:489)
  at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:484)
  at android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java)
  at android.content.Context.obtainStyledAttributes(Context.java:380)
  at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:143)
  at android.support.v7.app.ActionBarActivityDelegateBase.onCreate(ActionBarActivityDelegateBase.java:139)
  at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:123)
  at com.fada21.android.bootstrap.HomeActivity.onCreate(HomeActivity.java:28)
  at android.app.Activity.performCreate(Activity.java:5133)
  at org.fest.reflect.method.Invoker.invoke(Invoker.java:112)
  at org.robolectric.util.ActivityController$1.run(ActivityController.java:113)
  at org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:265)
  at org.robolectric.util.ActivityController.create(ActivityController.java:110)
  at org.robolectric.util.ActivityController.create(ActivityController.java:120)
  at com.fada21.android.bootstrap.HomeActivityTest.testActivityNotNull(HomeActivityTest.java:24)
  </code></pre>