- Home /
Android build file size in Unity 2018.1.1
Hello,
I've just updated my Unity version from 2017.4.3 and I made a Android build of my game to verify that all things are working, but I was very suprised of the new file size.
When I opened the two apks, I've found that libunity .so's size was doubled.
It changed from 17mo to 40mo. My two builds were only for ARMv7 and compiled with Mono and .Net 2.0 subset.
Is there any change that can explain this bigger file size?
Thank you in advance
Answer by Lost_Syndicate · May 24, 2018 at 02:33 AM
If unity updated, it compiled the scripts using their API Updater to insure you your scripts Up-to-date with their API, I don't know tho, Maybe go through your scripts and check for unnecessary lines of code
Thank you for your answer. I've checked all my scripts and removed some things, bu my build is just 30ko smaller. In the editor log, I saw this: Textures 1.2 mb 3.8% $$anonymous$$eshes 0.0 kb 0.0% Animations 4.9 kb 0.0% Sounds 540.7 kb 1.6% Shaders 177.1 kb 0.5% Other Assets 302.1 kb 0.9% Levels 26.2 kb 0.1% Scripts 1.4 mb 4.4% Included DLLs 5.1 mb 15.8% File headers 232.0 kb 0.7% Complete size 32.3 mb 100.0%
So the unshown percents should be the .so files and my question is how I can reduce the size of these files (if it's possible, but it very strange that the libunity .so's size doubled "without reason")?
Your answer

Follow this Question
Related Questions
Android Build Optimization for Unity - Textures 3 Answers
Blank Project Is Over 364 MB When Built For iOS?? 0 Answers
How to make signed version of apk (android build) in unity 4? 2 Answers
Getting Errors while trying to convert Unity to Android Studio 0 Answers
DDMS error code.PVRSRVAllocDeviceMem. android game, Crashed. 0 Answers