title: Android "Resources$NotFoundException: Resource is not a ColorStateList" with Theme.AppCompat
body: <p>I'm using Android Studio and I got a "Resources$NotFoundException" being thrown on Android pre-Lollipop only. Here it is:</p>
  
  <pre><code>Caused by: android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f0100b7 a=2}
  </code></pre>
  
  <p>and '<strong>0x7f0100b7</strong>' in <strong>R</strong> file refers to '<strong>colorAccent</strong>'.
  I believe this problem is with the appcompat support library. 
  I've added it to the 'build.gradle' file:</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:23.1.1'
      compile 'com.android.support:support-v4:23.1.1'
      compile "com.google.android.gms:play-services-maps:8.4.0"
  }
  </code></pre>
  
  <p>This is the theme:</p>
  
  <pre><code>&lt;style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/bg_main&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/bg_main_darker&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/bg_dark&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>and those colors exist in 'color.xml'.</p>
  
  <p>Any idea?
  Thanks a lot.</p>