Possible Duplicate:
No generated R.java file in my project
I am trying to run the project of CyanogenMod / android_packages_apps_Gallery
I download the project from here:
https://github.com/CyanogenMod/android_packages_apps_Gallery
Unfortunately, I cannot run it successfully in my emulator. The problem is the R.java cannot be generated. I have tried to ‘Project -> clean’ the project and delete the gen folder, but it doesn’t work.
Any idea? Thanks!
Look in all of your res files. If any XML file points to a image, font, or other XML file that doesn’t exist, then the R will not get generated. Usually running clean will show an error in one of the XML files, but sometimes not.