File size of Locus installation package (.apk)

Sonny shared this question 21 days ago
Answered

Hi, just for interest: I noticed that the install files' size of Locus Map using Google Play is quite small (it says 30 MB), also after completed installation on my phone the app-info says "app-size: 70 MB").

Why on the other hand the file size if downloaded manually via Google Drive (Public Version or Beta Version) is lots larger (140 MB)?

Replies (4)

photo
1

Additional info: phones "app-size" = 173 MB for Betaversion instead of 70 MB for Google Play version. A huge difference!

This comment is in trash! Restore
photo
4

Hi Sonny,

The difference comes from how the app is distributed, not from what it contains.

Google Play (~30 MB download, ~70 MB installed)
We upload Locus Map to Google Play as an Android App Bundle. Google Play then generates an installation package tailored to your particular phone and sends only the parts your device actually needs:

  • native libraries for one CPU architecture only (e.g. arm64 instead of also armeabi-v7a, x86, x86_64)
  • graphic resources for one screen density only
  • the languages set on your device

Direct APK from our Google Drive / Beta (~140 MB download, ~173 MB installed)
A file downloaded and installed manually can’t be tailored by anyone — it has to run on any Android device that might download it. So it is a so-called universal APK containing everything at once: native libraries for all CPU architectures (these are the biggest part — map rendering, routing, elevation), resources for all screen densities, and all app languages.

So the extra ~100 MB are simply variants that your phone will never use; they just sit on the storage. Functionally both installations are completely identical — the Play version is not “reduced” or missing anything.

If storage space on your device is tight, the Play Store version is the more economical choice. The direct APK is meant mainly for Beta testing, for devices without Google services, or when you need an older version from our archive.

This comment is in trash! Restore
photo
1

Very interesting, thanks Michal!
Cause you mentioned "... or when you need an older version from our archive", an additional question:

- I tried downgrading from latest Beta v4.36.1.5 to Release v4.36.1 using .apk from http://bit.ly/lmVersionsTest and http://bit.ly/lmVersions . This was not possible cause I got error message: "app wasn't installed, cause package seems to be invalid"

Any idea how to downgrade without having to deinstall former app (as well as of backing up all data+map before)?

This comment is in trash! Restore
photo
1

Downgrading requires a complete uninstall of the newer app (backup of all the app data before the operation is strongly recommended).

This comment is in trash! Restore
Leave a Comment
 
Attach a file