An error "" multiple root tags "is displayed in the string.xml file. What might cause it and how to solve it? Here is the code.

  • 2
    "multiple root tags" is translated as "multiple root tags". What actually is observed: one root tag resources with a nested string, and three root string. - Akina

1 answer 1

Try to transfer the string to the head tag:

<resources> <string> </string> <string> </string> <string> </string> <string> </string> </resources>