I found this warning occurred when I tried to load a resource that wasn't available for the current configuration. In other words, a resource which exists in some subdir of /res, but not one which is applicable to the runtime environment.
In my case, it was a locale-specific string resource which didn't have a default value, only a localized value which didn't apply to the current runtime locale. For the OP, I could imagine it was because he didn't have a default drawable; he only had -hdpi and -mdpi versions, neither of which Cupcake knows about. Does that explanation make sense? :^) String On Jul 31, 8:45 pm, machambi <alexander.j...@gmail.com> wrote: > I have the same problem , Application compiled using 2.2 fails to > startup on 1.5. If I change the application settings to compile using > 2.1 api, the same app loads ok on 1.5. > > Have you got any resolution to this problem? > > On Jul 19, 6:08 pm, Trygve <trygv...@gmail.com> wrote: > > > > > I have ported the keyboard from Android 2.2 to 1.5, because I want to > > use it as a base for a keyboard. When I compile the keyboard with SDK > > version 2.2 and run the keyboard in an emulator running 1.5, I get > > this error: > > > W/ResourceType( 715):Failure getting entryfor 0x7f02001f (t=1 e=31) > > in package 0: 0xffffffb5 > > > Resource 0x7f02001f is a standard 9-patch png drawable located in res/ > > drawable-hdpi and res/drawable-mdpi. It is loaded from a xml file as a > > background. If I remove the code to load this drawable, the next > > drawable that tries to load fails. > > > To locate the error, I have commented out all the methods from newer > > SDK's, and when I compile the keyboard with SDK version 1.5, 1.6 or > > 2.1 it works fine on the emulator running 1.5. However when I compile > > it with SDK 2.2 (without changing any code), I get the error above. > > > The keyboard works fine when I try it in an emulator running 1.6, 2.1 > > and 2.2 when the keyboard is compiled with SDK 2.2. I have to compile > > with SDK 2.2 because I need the speech API. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en