at this time split.density is not supported. It's a work in progress
that shouldn't have shown up anywhere user-visible.

Xav

On Mon, Feb 22, 2010 at 8:00 PM, Bob Kerns <[email protected]> wrote:
> The aapt command has a -c option which governs which configurations to
> include (default = everything). Since the Gallery comes with specific
> devices, it wouldn't surprise me if it's configured to only include
> assets targeting a specific platform.
>
> Check your default.properties file for split.density=true, which
> should generate a separate .apk for each density.
>
> On Feb 22, 6:21 pm, Xinyu Chen <[email protected]> wrote:
>> Hi all
>>
>> I have built android 2.1 on freescale's i.MX platform.
>> But after running Gallery3D, it will crash with the log of failed to
>> load resource.
>> I found that the whole drawable-hdpi/ (it really contains in the
>> Gallery3D source code res/) is not in the apk package, and cause lack
>> of drawable-hdpi/icon_cancel.png. The apk only contains drawable-mdpi/
>> and drawable/.
>> My question is why the drawable-hdpi/ resource is dropped when
>> building apk? Per my understanding is that, which drawable-* resource
>> loading is determined on runtime, and all the drawable-* should be in
>> the apk package.
>> Could anybody help? Thanks.
>
> --
> 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
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
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