Just said Android 2.2 set the resouce of different density resouce directory
tailed with v4 defaultly, so you should assure the resource be exsiting in
the drawable when runing on 1.5.

On Sun, Aug 1, 2010 at 3:45 AM, machambi <[email protected]> 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 <[email protected]> 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 entry for 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to