I've found out that my R.java is never updated, so it doesn't contain info about my new resources, so I decided to delete it and thought that Eclipse will generate a new one. But that didn't happen and I don't have R.java now. How can I generate one? I'm using Win7, if that changes anything.
This site suggests:
if you run a clean on the project it should regenerate all the generated java files, namely R.
...and...
In Eclipse, under the Project menu, is an option build automatically. That would help you build the R.java file everytime modifications are made. The Clean... option is also there under Project.
This site suggests another solution.
It seems to be a common issue with many different answers readily available through google :)
I'm running into this issue after everything was working great for over a month. The /gen files are not being created. I've tried opening / closing eclipse, cleaning the project, toggling "Build automatically", and googling all over the place. I'm still running into this problem. Anyone have any more ideas?