title: R.java containing bad resource pointers
body: <p>The auto-generated R.java file in the gen folder contains pointers to all my resources, as usual. The problem is that lately the pointers have been corrupted in some way.</p>
  
  <p>Luckily I found that adding 1 to all the pointers gave the correct result again. My suspicion is that I have been continuously adding new objects, but R.java is not updated. I've tried removing R.java, so a new one is generated, but this doesn't help.</p>
  
  <p>Is there another way to really force the R.java to be rebuilt?</p>