Search code examples
androideclipseadt

ADT does not recreate R.java


I got quite a large project to work with. After I imported it and fixed project properties I found out that Eclipse just won't create the R.java. Things I've tried:

  • Clean, rebuild, un-check "auto build", rebuild again
  • Deleting the gen folder (Eclipse recreates it but without R.java)
  • Deleting the gen folder and adding it manually (same as above, BuildConfig is created, but no R)
  • Running Android Lint and checking for errors (some performance warnings but NO errors)

The same result each time:

enter image description here

I got no idea what the hell is wrong there. Any suggestions?


Solution

  • Do you use SVN as a source control? Android pre compiler now crashes because of some SVN files, solution is to upgrade SVN from 1.6 to 1.7, at least in my case that did the trick... If not look for the files with no extension (image instead of the image.png) they tend to confuse him...

    See my blog post for details...