- Home /
Answer in official documentation
How can I minimize size of an app besides resizing textures?
Hi.
I made an app that isn't a game, is just a numbers generator. I have 8 scenes include menu scene.
The apk size is only 18.8MB, but the actual app on my phone has 58.14MB ! The editor log says that the complete size is 5.6MB. I've already resize sprites to less than 512 pixel(multiple sprite) and compressed them.
I might have too many scenes, animations, but that's only less than 1 MB according to the log. What should I do? How do you make small size of apps by unity?
----Editor Log---- Textures 512.2 kb 8.9% Meshes 0.0 kb 0.0% Animations 48.5 kb 0.8% Sounds 0.0 kb 0.0% Shaders 12.3 kb 0.2% Other Assets 52.0 kb 0.9% Levels 579.3 kb 10.1% Scripts 449.8 kb 7.8% Included DLLs 3.9 mb 70.0% File headers 70.3 kb 1.2% Complete size 5.6 mb 100.0%
I'd really appreciate if you could give me some advise ! Thank you.
Try Texture paking tools like Simple Sprite Packer
It will help to make sprite sheet from sprite
Remove not using Assets from your project
Thank you for the tips! Sorry for this late reply.
I didn't know about ''sprite packer'' function even original from unity, so I had to look for tutorials. I did make a sprite packer through 'simple sprite packer' as one image of multiple sprite. It seems not linking to game objects ;( Is there something like 'link' button that I can't find yet?
The apk size doesn't change after this. $$anonymous$$aybe because I only have three sprite include a multiple sprite and a sprite for icon(for devise screen).
I cut out all unnecessary things, and left only these.
animation -1 animator controller-1 prefab-1 scene-8 script-5 sprite-3(single sprite [size 512 ]+ single sprite [size 64] + multiple sprite [size 512])
and, other are 'simple sprite packer','google mobile ads' things.
Now apk size is 20.8$$anonymous$$B and it turns 43.63$$anonymous$$B in my android phone. (It increased because of importing Admob plugin.)
Follow this Question
Related Questions
Build size way bigger then it should be? 0 Answers
Android Size reduced related to Asset 0 Answers
Building a very small sized app, to less than 5mb 2 Answers
Distribute terrain in zones 3 Answers
How to reduce final build size? 1 Answer