- Home /
Android Apk Size is too big.
Hi All,
Could any one tell me why the Unity 3d Android Apk size is 7.9MB without using any assets.
I have created a New Project without importing Any assets and nothing is ther in Scene other than Maincamera. And later just take a build by making switch platform for Android and i took .Apk.
I have shocked after seeing the size of Apk it is around 8 MB.
Please check the below image which will give a clear picture of Editor log, No assets and in Hierarchy view only Main camera is there.
How could i reduce the Apk size.
Please suggest me .
From what I know, and anyone correct me if I'm wrong. But that apk file includes the unity player which you will need for your application to run. That 8 $$anonymous$$B you are talking about are probably the player + your scene (A couple of B or $$anonymous$$B).
I've also encountered the issue but my apk did not grow with more than 1 $$anonymous$$B even after having 5 fully working scenes with all the necessary assets.
Thank you for the Reply. I dint understand Colud you elaborate bit. What is that unity player included ?
How to reduce the .Apk size for sample scenes.
If you have Unty Pro, you can try Build Stripping
Answer by Ravi M L · Jul 10, 2013 at 09:23 AM
Thank you for the reply.
I tried with Build Stripping in Player setting with Unity Pro for 1 month Trail. I made it to Micro.
Even after doing this the .Apk is nearly 7.06MB
Any way to reduce the .Apk size ?
Suggest me ......
Thank you in advance...
You do not understand that the unity player will always be there whether you like it or not.
This is because your application will not work without it.
Answer by N13s · Jul 05, 2013 at 07:24 AM
The final apk is made out of a lot of things, like indeed the Unity Player itself, and maybe some models, scenes, scripts, and other custom made objects.
The unity player is actually the most important! Without this one, your application will not even start working. The unity player is, just like on your computer, the one that will proces all the 3d-objects, scripts, etc.. There is no way you cannot include the unity player - and you also don't want to!
Sorry to re-open an old topic, but I'm still having no luck with $$anonymous$$e. Here is the download from the Editor.log file:
Textures 2.5 mb 26.7%
$$anonymous$$eshes 0.0 kb 0.0%
Animations 104.7 kb 1.1%
Sounds 0.3 kb 0.0%
Shaders 3.7 kb 0.0%
Other Assets 379.5 kb 4.0%
Levels 1.4 mb 15.3%
Scripts 337.7 kb 3.6%
Included DLLs 3.9 mb 42.8%
File headers 599.4 kb 6.4%
Complete size 9.2 mb 100.0%
The complete size shows 9.2mb, in actuality the AP$$anonymous$$ builds to 24mb... I can't physically do anymore to the files to get them smaller, so there must be something else going on.
Can anyone suggest were to start looking?