I have a running project and all the xml files are showing me the error message Android Failed to instantiate one or more classes. The program still works.
Android Failed to instantiate one or more classes
Finally, after 4 days of facing the same error I resolved this on my own:
Click on
Build--> Make Build
and then
Refresh the layout.