android - Why don't compress resources.arsc in APK files? -


i want reduce apk file size. so, tried compress resoruces.arsc file in myapp.apk file. because file reducable file in apk files. test few apk files (include other apps), pretty working. performance when application execute, not different. there other issue/causes exist? why file not compress?

zip/jar/apk compression allows individual files within zip left uncompressed. in apks resources.arsc file intentionally left uncompressed. done can mmappped . resources.arsc file read other processes (to app name , icon in launcher, recent apps page, of notifications, etc), efficient read speed important. appears size can large if target minsdkversion < 7 strings stored utf-16 then. if minsdkversion >= 7, should use utf-8 notably smaller.

see hackborn's responses @ https://groups.google.com/d/msg/android-developers/c4_wkkby91c/hyav-zqkz6uj , https://groups.google.com/d/msg/android-developers/_pm3ugx_3hw/5efipdz92nwj


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -