I am developing my Android project, After I removed a unused library, I got the error:
myproject/gen already exists but is not a source fold
I get the same problem.
Two actions, first:
second: (because the previous action asked me to remove something... I do not remember what it was...)
And now it works for me!
I had SVN configured for a project with the same problem, deleted all folders and files, retrieved it again from SVN and still no luck. The only thing that helped was reverting the changes, and deleting/re-importing projects to the workspace. Hope this helps
The last time I had this issue, it was because I switched the source to another branch behind the scenes. Once I closed Eclipse and relaunched, the issue went away.