i was using Eclipse Helios but due to performance issues i changed to Eclipse Galileo and installed the ADT plugging, and added my sdk folder to Elcipse Preferences. Now R.j
This happened to me while adding some new resources to my project. The R file is build after every resource update.
The error in my case was incorrect file name. One of the image resources had a capital case letter in its name and that prevented the build from creating the R file. Changing the name simply worked.
I would suggest that when you add too many resources at a time, just make sure of the naming conventions for them. Its easy to miss such things.
Resource conventions: http://developer.android.com/guide/topics/resources/providing-resources.html