0

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?

juba
  • 47,631
  • 14
  • 113
  • 118
Droidman
  • 11,485
  • 17
  • 93
  • 141
  • check ur xml file some if ur not check!!!!!!!!!!!! – duggu Feb 13 '13 at 11:20
  • I checked the manifest manually, it's OK, also there're like 40+ layouts in the project which were checked by Android Lint as I mentioned above – Droidman Feb 13 '13 at 11:22
  • Can refer http://stackoverflow.com/questions/14455018/eclipse-android-errors-running-builder-android-pre-compiler-on-project . he has similar problem as urs. – user1969053 Feb 13 '13 at 11:24

1 Answers1

1

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...

Nemanja Kovacevic
  • 3,510
  • 2
  • 30
  • 45
  • thanks, that got me to thinking the right way. Resolved the problem by creating a ressource filter and exluding anything containing .svn – Droidman Feb 13 '13 at 12:38