-2

I usually run my apps without any kind of problems. But, recently, I faced this problem in colors.xml : "Element project must be declared"..... How can I solve it???

oi

Zoe stands with Ukraine
  • 25,310
  • 18
  • 114
  • 149
Elliomara
  • 21
  • 2
  • 4

1 Answers1

0

This color file in your picture is not so related to colors.xml - it should look like this:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="colorPrimary">#795548</color>
    <color name="colorPrimaryDark">#6B4A3E</color>
    <color name="colorAccent">#FF000000</color
</resources>
Michael Dodd
  • 9,667
  • 12
  • 50
  • 64
Tamir Abutbul
  • 6,886
  • 7
  • 24
  • 48