- Home /
.apk file built is not compressing much of the original in latest version of unity.
Hey there. So, I have been practicing unity not for a while now. About a year ago i was working on creating an android game. I was using Unity version 4.5.0 back then. The game has got assets more than 100 mb. But it was compressed and built into an apk file of size 12 mb. That got dropped. Now I kick started my development again using Unity version 5.2.1. The assets of the present work does not even exceed 50 mb. But the apk file built takes 15 mb.
Both the projects have the device filter option as only AMD.
I don't understand whats going on. I might have done some mistakes. Please guide me through this size optimization. Also notify me if there are any other method to reduce the size of the apk in general.
Thanks in advance! :)
Answer by SuperNovaDom94 · Oct 23, 2015 at 08:39 PM
@abhishekabz004 i'm going to give you a couple of suggestions you can try (i'm going on assumptions here and guessing you might have no used these)
Try changing the Stripping level in player settings to micro mscorlib. this can shave a few mb's off if your extremely lucky.
change your Api compatibility to net 2.0 subset if its set to net 2.0 and your not using all the net 2.0 functionality .
These are some advice tips below if your unsure on size optimization
Always set your image sizes to be exactly what you need.
on small images, 64x64 for example, disable mip mapping. The performance hit is almost nothing and you dont need to store mip maps.
Remove any excess variables in scripts you are not using
Please let me know if this worked
Thanks for the help :) I already had net2.0 subset option enabled. I tried stripping level and it reduced some 1 mb. I will also try the size optimization tricks and will let you know. :)
by the way , I am still not clear about compression method that i mentioned in the question. Do you have any lead on that.? Thanks again.
@abhishekabz004 I'm not sure what you mean , which compression method you want to know about??
also, please choose my answer as the best answer because it looks bad on my profile if you don't . Thank you
Your answer
Follow this Question
Related Questions
android apk size not getting much smaller 1 Answer
Graphic resources size in builds 0 Answers
How to keep apk size low when using large 2d animations? 2 Answers
launching unity app from android 0 Answers
Android APK size way too large 2 Answers