I had this problem for a while and was able to solve it myself.
If in opening your project in Android Studio and something similar to this error message pops up:
Since for me didn't worked to delete the file i just override the actual workspace.xml with the one i had on backup directory of my project. Now it works.
workspace.xml