How to find out, why the "R" (resource) file is not generated?
<p>Again and again I have the case that during development, the Android SDK suddenly doesn't regenerate the "R" file. Usually this is due to some error in one of the many .xml files, but that darn thing doesn't give the slighted indication, as to <strong>WHY</strong> it suddenly refuses to regenerate that file.</p>

<p>There is no error or warning listed for any of my .xml files and manually checking all those (meanwhile almost hundred!) XML files for errors is no real fun, either! </p>

<p>Is there some option or log or something that would allow to locate the problem quicker and more direct? Last time I had to do a lengthy binary search (i.e. copying and removing files to/from a second test project) trying to locate the offending file. That's really a nightmare and not how it should be in any decent SDK that deserves that name!</p>

<p>Michael</p>
