title: Android Studio does not find color style resource
body: <p>I'm trying to use a custom with <strong>Theme.AppCompat.NoActionBar</strong> but the <code>IDE throws</code> the error that the named resources cannot be found. Kindly assist.Any help would be greatly appreciated.</p>
  
  <p>The styles.xml is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;resources&gt;
      &lt;!-- Base application theme. --&gt;
      &lt;style name="AppTheme" parent="Theme.AppCompat.NoActionBar"&gt;
          &lt;!-- Customize your theme here. --&gt;
          &lt;item name="android:windowActionBar"&gt;false&lt;/item&gt;
          &lt;item name="android:windowActionBarOverlay"&gt;true&lt;/item&gt;
          &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
          &lt;item name="colorPrimaryLight"&gt;@color/primary_light&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
          &lt;item name="textColorPrimary"&gt;@color/primary_text&lt;/item&gt;
          &lt;item name="textColorSecondary"&gt;@color/secondary_text&lt;/item&gt;
          &lt;item name="iconColor"&gt;@color/icons&lt;/item&gt;
          &lt;item name="dividerColor"&gt;@color/divider&lt;/item&gt;
      &lt;/style&gt;    
  &lt;/resources&gt;
  </code></pre>
  
  <p>The colors.xml is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;color name="primary"&gt;#FF9800&lt;/color&gt;
      &lt;color name="primary_dark"&gt;#F57C00&lt;/color&gt;
      &lt;color name="primary_light"&gt;#FFE0B2&lt;/color&gt;
      &lt;color name="accent"&gt;#03A9F4&lt;/color&gt;
      &lt;color name="primary_text"&gt;#212121&lt;/color&gt;
      &lt;color name="secondary_text"&gt;#727272&lt;/color&gt;
      &lt;color name="icons"&gt;#212121&lt;/color&gt;
      &lt;color name="divider"&gt;#B6B6B6&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>