title: Error after trying to change color in color.xml
body: <p>I'm trying to learn Android, now I'm trying to change color in my android project. Here is what I do,</p>
  
  <p>I change my color.xml to:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;color name="primaryColor"&gt;#d81b60&lt;/color&gt;
      &lt;color name="primaryLightColor"&gt;#ff5c8d&lt;/color&gt;
      &lt;color name="primaryDarkColor"&gt;#a00037&lt;/color&gt;
      &lt;color name="primaryTextColor"&gt;#ffffff&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>and my style.xml:</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="primaryColor"&gt;@color/primaryColor&lt;/item&gt;
      &lt;item name="primaryLightColor"&gt;@color/primaryLightColor&lt;/item&gt;
      &lt;item name="primaryDarkColor"&gt;@color/primaryDarkColor&lt;/item&gt;
      &lt;item name="primaryTextColor"&gt;@color/primaryTextColor&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But when I try to run I get this error(s):</p>
  
  <p><a href="https://i.stack.imgur.com/y1dld.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y1dld.png" alt="enter image description here"></a></p>
  
  <p>So, how can I fix it?</p>
  
  <p>I already try this:</p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/31716023/android-studio-does-not-find-color-style-resource">Android Studio does not find color style resource</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/26422286/android-studio-cant-find-color-reference-within-the-same-resource-file">Android Studio can&#39;t find color reference within the same resource file</a></p></li>
  </ol>