I have an App already uploaded to the Play Store. In the card it tells me that it has a size of 2 MB
.
I am now preparing an update of it and testing it on my device, installing it via USB cable.
Reviewing its information on the device, I notice that it has changed considerably in size:
Here you can see, in the green box, on the left, a worrying value 44 MB
that I don't know exactly what it corresponds to. Then on the right, you see a value of 16.06 MB
.
If I go to the details of the App (recently installed), it tells me that they 16.06MB
correspond to Almacenamiento
, distributed as follows: Application size: 15.97MB / User data: 77.82KB / Cache: 8.44KB and 44 MB
it says nothing about the others ( by the gray symbol that appears on the left I interpret that it is 44MB in memory, which I would not know what it means either).
It must be said that I deleted the App and installed it completely new using the USB cable.
Checking the project folder, it has a size of 2.55MB
, something more or less consistent with the size that the Play Store says that the uploaded App has.
In this new version I have added some things, but I don't think that justifies the increase in size:
- Gson bookstore
- Some classes of the data model
- Some very small text files
- A very small JSON file
- Several
Activity
new (about 7) - Firebase library (and real-time sync). I must say that there is currently too little test data in Firebase to even reach 16MB.
My question is, will the App have a size of or 44MB
when I upload it to the Play Store or is this size normal when debugging via USB and the size of the App will be the size of the folder that contains it (2MB about)? I want to know in case I need to do any cleaning before uploading it to the Play Store.16MB
44MB+16MB
What is the value of 44 MB
really equal to?
I've been reading about App Bundles , but I couldn't find an answer to my question. I did one Clean Project
and nothing changed.
It is normal to observe a size greater than .apk when you have, for example, an application that downloads and stores information either in databases, preferences or files.
As an example:
if we remove data from this app, we get the original measurement when installing the app:
But now why does our .apk have a size and when installed it increases its size?
It's actually because the .apk is actually a compressed file. For this reason, when installed, it increases its size. As a test you can change the extension from .apk to .zip:
by converting to .zip you can extract the compressed files in the .apk file and the size of all these files is similar to the installed application: