Android projects come with a free class called 'R' (short for Resource).
This is an automatically generated class which you use to reference resources in your project. It is created seperately from your source folder (typically locates in /src) in it's own folder called /gen.
As a result, /gen is always part of your project. If it is missing, your project is incomplete.
Now the complicated bit - /gen should be created when your project creates 'R'. Your errors suggest that R is not being created for some reason.
If you have rebuilt your project with an error, Eclipse may not be able to generate R and may not have bothered creating /gen as a result. Try doing this manually to see if it helps.

Reply With Quote
I checked I have got correct SDK installed and also pointed to the correct path but it's still not working at all. I also found gen folder but still says "missing"


Bookmarks