"styles.xml" AAPT: error: expected reference but got (raw string) code example

Example: "styles.xml" AAPT: error: expected reference but got (raw string)

Check the error number line and open the file 
path => /android/app/src/main/res/values/styles.xml
<item name="colorAccent">#FEAC00</item>

you must added the value like this 

it would not take value like this manar

open color.xml  path => /android/app/src/main/res/values/

in this file  
you can define colors

<resources>
  <color name="iconBackground">#FFFFFF</color>
  <color name="splashscreen_background">#F2F0F0</color>
  <color name="colorPrimary">#FEAC00</color>
  <color name="TextColor">#FFFF</color>
</resources>


just replace the the color code with 

<item name="colorAccent">@color/colorPrimary</item>

now this work fine

=====================================
the another solution or trick is blow:


<item name="here will be you error varible name in your file">@null</item>

Tags:

Misc Example