tags:

views:

37

answers:

0

My app runs targets version 1.6 (API level 4) and runs fine on the 1.6 emulator, but when I try and run it on a 2.0 phone (api level 5) it crashes. It's throwing an exception trying to inflate one of my xml layouts. A bit more debugging revealed that it crashes when trying to load my images; they can't seem to be loaded on the device. If I remove all references to Drawable resources in my xml it runs fine. Also, if change my app to target v2.0, it runs fine on the device and the images load and display correctly.

Any thoughts?