I just started a new Android project, \"WeekendStudy\" to continue learning Android development and I got stumped compiling the default \'hello weekendstudy\' compile / run.
I was also facing this issue.
When using eclispe make sure before clicking "Run", Any file selected in Project is not the XML file.With this you will never get this error. Also, Make sure you have deleted all the ....out.xml from your workspace.
I spend almost 30 Min to know the root cause of this and found this solution.