I have switched to android studio 3. after many problem that I fixed, I got this error:
color/colorPrimary but i go this error:Error:(87, 5) error: expected color but got (raw string) color/gray
You forgot to add @
before color/colorPrimary
change it like @color/colorPrimary
sample code
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With