posted 14 years ago
It's possible that Eclipse has decided to import your R.java file into one or more of your classes.
Every so often, when clean/build doesn't seem to be working, if I check my import block at the top of the class file(s) I'm writing, I'll see
import blah/R.java
(or similar).
Delete, save and rebuild. It fixes the problem for me. I wish I knew what caused it.