Why does Clear remove the R class from the Android project?

0

I missed an entire project because I ran a clear on the Android project because it removed the R class.

Why does this happen? How do I project the Android Rs again to class R?

    
asked by anonymous 05.12.2014 / 13:47

1 answer

0

If the project has not ruled the R class, your project has major issues.

Make sure your AndroidManifest.xml is 100% correct, if you have no error in the activities, in the files and subfolders of the res folder.

The Eclipse Clean operation takes the temporary files from the projects you executed the action, and then it rebuilds them. So Clean took the class R, and it did not work the same because its project has problems, like some that I quoted above.

    
05.12.2014 / 13:55