For reasons unfathomable to me, sometimes I edit an xml file (such as res\layout\main.xml) and Eclipse stops recognizing it. I get errors like “Bad XML block: header size 93 or total size 0 is larger than data size 0”.
If I delete the contents and retype the xml file everything works fine.
Any ideas what’s going on?
Try out both this things ,this can be help you to resolve the problem:
I just ran into the same error message. In my case, the XML was referencing a missing icon file in the drawables folder.
or
A Project->Clean should take care of this.