I can\'t write code for days.
Eclipse usually return this errors, when I trying a edit layout. And create new project, new xml file, trying to run project:
Yes, making new workspace is much better then deleting .metadata
anyways.
But in my case it did worked, but could run into error again, that would require restart.
Android 5.0 tools (including Android Studio) seems to be still buggy, so get older version e.g. 22.6.3 from here into new Eclipse instance and work with new workspace.
Check NodeClipse Android Start.
After some time when new ADT version comes try to update it in the 1st eclipse instance.
That is having one Eclipse with stable plugins for work
and other Eclipse with newer plugins for learning and experimenting.