简体   繁体   中英

Why Android APK much larger when installed?

I am installing an APK which weighs roughly 2MB. Once the application is installed it weighs 9MB. Is there a logical explanation for this?

The APK file-format is a compressed format.

As soon you install an app Android decompresses the App it because it performs some optimizations. Another reason is that it would be unfavourable to decompress it before every start for performance and battery-life reasons.

Some APKs bring some native libraries with them (for example many games or apps that were build with Delphi) which are also stored uncompressed. Escpecially this kind of apps will suffer from being enormous large when installed compared to Java-Only Apps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM