Can't find class R
When I open eclipse it R class
disappears in my project. Why?
I have eclipse juno and latest android SDK.
R class
not recoverable because there are errors in the code ...
How can I solve this problem?
Try Project → clean
if that fails, fix the errors and build the project again, it R class
will regenerate.
Have you tried to rebuild the whole project? You can do this using the Project → Clean menu item.
Look for errors in XML resources; this will prevent the creation of R as well as errors in the code.
The Errors tab in Eclipse is your friend here.
Clean the project and rebuild it
Build / cleanup project
Build / rebuild project
in android studio
Thank you