Is the compressed APK size comparable to the 400kB original size? The 790kB you quoted seems to be the unpacked size. On the device, resources are kept in their compressed state. Also, I believe that aapt in 1.5 runs drawables through pngcrush, so I'm not sure why they are growing.
j On Sun, May 3, 2009 at 6:21 PM, piecewise <[email protected]> wrote: > > I've got ~200 png files in the /res/drawable folder, mostly interface > and sprite sheet stuff. They're all indexed pngs, and weigh in at a > grand total of a bit over 400kb. > > When I run aapt to package them into the apk, their filesize nearly > doubles. Opening the apk up with 7zip and extracting the drawables > confirms it: 790kb. > > Does anyone have any idea why this would be happening? I thought the > packaging process was meant to compress the pngs, not inflate them! :P > > Cheers, > Tom > > > -- Jeff Sharkey [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

