Try creating a new Android project in the Eclipse IDE, and then copy the hidden .classpath file from the new project to the existing one. Then you can delete the additional Android project.
Then follow the steps above. Delete the / gen folder and do a cleanup (Project -> Clean, Android Tools -> Fix Project Properties).
The problem for me was that the downloaded .classpath was installed to host the .class source files in / gen, which should have had R.class files. Eclipse wanted the source .class files in / bin, which gives Eclipse the automatically generated .classpath. If you feel comfortable editing the .classpath yourself (this is not particularly difficult to read), you can make changes on the spot without worrying about creating a new Android project.
Talos Nov 21 '11 at 19:04 2011-11-21 19:04
source share