I have made a XML file:
In my case, the drawables (PNG files) were corrupted while transferring them from Linux machine to my Windows machine where I do development. I figured that by trying to open the PNG files. Those PNG files could not be opened as they were corrupted.
After transferring them once again, it worked fine.