I also faced the same issue and worked for hours on it and finally found out the solution.
The drawable file that I referred in my xml was not existed. I removed the code and rebuild the project. It worked.
My advice if anyone face such an issue, please look into your res folder.