1

Possible Duplicate:
R file is missing android

Hello The file R.java is deleted when i clicked on "clean"

How can i recreated it??

thank you

Community
  • 1
  • 1
User616263
  • 467
  • 2
  • 9
  • 23
  • Possible Dupe 1: http://stackoverflow.com/questions/4536680/why-does-r-does-not-exist-error-come-in-android – John Feb 21 '11 at 01:50
  • Possible Dupe 2: http://stackoverflow.com/questions/4842611/r-file-is-missing-android – John Feb 21 '11 at 01:50
  • Possible Dupe 3: http://stackoverflow.com/questions/4619162/how-to-generate-r-java – John Feb 21 '11 at 01:51
  • Possible Dupe 4: http://stackoverflow.com/questions/2757107/developing-for-android-in-eclipse-r-java-not-generating – John Feb 21 '11 at 01:51

2 Answers2

6

jleedev... Another possibility is that you have an error in an xml file in which case the compiler cannot parse the xml file and will fail to generate a new R.java file. Usually there is a little red flag on the problematic child.

JAL

JAL
  • 3,319
  • 2
  • 20
  • 17
1

The build process will remake it for you.

FoamyGuy
  • 46,603
  • 18
  • 125
  • 156
  • 3
    If you are using Eclipse, sometimes it gets into a tizzy and you need to delete then entire gen/ directory in order for a build to work again. – Aaron C Feb 20 '11 at 19:29