Wednesday, September 15, 2010

[android-developers] Re: shared library so size versus apk size

An apk is a zip file (try opening it as one) so the .so is stored
inside it compressed.

The savings from removing the apk would count both the compressed apk
and any parts of it that get uncompressed during installation, such as
shared libraries and the dexopted version of the class file.

pgil wrote:
> I would like to know why the size of my shared library .so is bigger
> than my .apk file generated with Eclipse? Approximatly the so size is
> twice the apk one. What is strange is after having installed it in the
> device (2.1 firmware) I checked the size of the apk when I uninstalled
> it from the device and surprisingly the apk size indicated is bigger
> even than the .so one. Is there any explaination of that?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment