Hello, I ran into a problem when compiling a project for android: Error parsing XML: no element found in the values-zu.xml file

C:\Users\nik_borgolov\documents\visual studio 2015\Projects\AppFull\AppFull\AppFull.Droid\obj\Debug\resourcecache\801315905077100BEF6EE6258C88454F\res\values-zu\values-zu.xml(2): error APT0000: Error parsing XML: no element found 

Log Oshi What makes such a mistake and how to solve it?

Actually the file itself is empty: values-zu.xml

  • Show the 2nd line of the values-zu.xml file - Flippy
  • Added to the description - Nikita Borgolov

1 answer 1

The resource file must not be empty. Android, depending on the system language, selects string resources in the desired language. The minimum that should be in the file is a tag

 <resources> </resources> 

If you do not want to do localization on zu , then delete the file altogether