Issue
I'm working on a bug of my Android application and it only occurs on a Galaxy Nexus with Android version 4.2.2, but works fine on my Nexus 5 with 4.4.2.
Basically it's not able to find a png file on this device.
The png file is only located in res/drawable and here is the structure of my res folder:
res/drawable
res/drawable-de
res/drawable-fr
res/drawable-it
res/drawable-hdpi
res/drawable-ldpi
res/drawable-mdpi
res/drawable-xhdpi
res/drawable-xxhdpi
What could be preventing Android to fallback to the drawable folder in this case?
Solution
Without knowing anything about the image its hard to say, but the image may be too large. Alternatively, unless there's a compelling reason not to, you should probably put it in a *dpi folder anyway
Answered By - Tim Mutton
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.