1

I'm getting this error more and more, and it's getting stickier, harder to flush out. Often, refreshing the project in the explorer view (but not doing the trick now), or poking around with some other things, clears it out. But, I would like to have some definitive way to fix this or to know why this happening and fix the fundamental problem.

The message from the console in red:

[2011-05-15 00:25:13 - ] ERROR: Unable to open class file \R.java: No such file or directory

Thanks,

skaffman
  • 381,978
  • 94
  • 789
  • 754
Jahmic
  • 9,421
  • 9
  • 54
  • 69
  • 2
    THere is not enough information here to help. Please: attach a screenshot, attach a stack trace, and/or open the error log and paste any relevant errors. – Andrew Eisenberg May 14 '11 at 15:30
  • One thing that often clears these sorts of things out is the Project > Clean thing. It'll rebuild R. If it can't, you'll at least get some more detailed error messages to work off of. – Turnsole May 14 '11 at 16:46

2 Answers2

1

Not sure if this is the right way to do this, but this question is essentially a duplicate of this one, with a chock full of helpful suggestions.

Strange... thought I set that correctly a while ago... but here it is again

Community
  • 1
  • 1
Jahmic
  • 9,421
  • 9
  • 54
  • 69
0

Not sure if this is your problem, but sometimes eclipse freaks on me and Project -> Clean... does the trick.

Emily
  • 584
  • 1
  • 5
  • 13
  • Yea, it's freaking out. Clean use to before, but, as I mentioned, this error, is getting stickier and staying around after – Jahmic May 15 '11 at 07:47