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.
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).
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.
Any one have any ideas how i can get this working?
Thanks.
*Addition** 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.