0

R.java in gen is missing. There are no errors in my xml. Please help.

myooomyoo
  • 135
  • 2
  • 5
  • 15

2 Answers2

1

You just need to clean and build your project. try

M D
  • 47,665
  • 9
  • 93
  • 114
1

Just Restart the Eclipse will solve this Issue as the workspace will be freshly Build ! go to

File -> Restart

Its the fastest way to avoid frustration by going it into Build,preferencen,blah blah.....

Vivek Warde
  • 1,936
  • 8
  • 47
  • 77
  • 1
    Many, many, many times, this WON'T WORK. – Phantômaxx Dec 27 '13 at 12:13
  • But It have worked for me everytime especially whenever i delete R.java & if it is not regenerated automatically – Vivek Warde Dec 27 '13 at 12:22
  • In most cases, for me it didn't work, since there always was some well hidden bug in some xml files (sometimes, in strings.xml, in someone of the languages I support) – Phantômaxx Dec 27 '13 at 12:31
  • When I add this appcompat library to the project, the R.java disappears, but when I unable this library, R.java appears.. – myooomyoo Dec 27 '13 at 12:46