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?

+3


source to share


4 answers


Try Projectclean



if that fails, fix the errors and build the project again, it
R class

will regenerate.

+3


source


Have you tried to rebuild the whole project? You can do this using the Project → Clean menu item.



+2


source


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.

0


source


Clean the project and rebuild it

Build / cleanup project

Build / rebuild project

in android studio

Thank you

0


source







All Articles