Reputation: 500
Everything worked well before I copy-pasted some code from another project. It worked well in that project but here it started showing this error. Even my colors.xml file doesn't contain any such tag. The error and array.xml
color.xml
Upvotes: 3
Views: 2235
Reputation: 199
I know it's late to answer but what I worked for me is changing <string>
tags into <item>
under <string-array>
element.
Upvotes: 0
Reputation: 4910
This is caused by a resource array not containing item
The error makes it very confusing :)
<string-array name="...">
<string>...</string>
<string-array name="...">
This will result in: error: unknown tag <:string>.
Change to
<string-array name="...">
<item>...</item>
<string-array name="...">
Upvotes: 12