Android & Eclipse copy existing app to new project creates a funny R.*
<p>I am trying to create a trial version of an app i wrote. I copied my main project, then pasted it as a new project with a new name. I then refactored (appended Trial) to my activities, then i fixed any errors that cropped up because of this. Once the project compiled, I tried running the app.</p>

<p>When I try to run the trial app on the emulator, my app cannot find any of its resources (drawables, styles, etc) if I programatically access 'R.*'. If my app starts an activity that hard coded a style, that works fine (except the drawables are missing).</p>

<p>Also, I am not sure how resources are mapped, but when I open my generated R.java for each project they are identical! The errors thrown from my trial app say "Resource not found for xyz' and the id the exception shows me is different than the one in generated R.java.</p>

<p>Any one have any ideas how i can get this working?</p>

<p>Thanks.</p>

<p>*<strong><em>Addition</em>**</strong>
So I forgot to mention that I am targeting version Android 1.5 (api version 3). I just updated the target version to 4 and things worked... I would like to target 1.5 ... Anyone experience this? Thanks.</p>
