build .apk file from empty project (using IL2CPP) = filesize 250mb
Hi,
I found the problem of the google play store update of August 2019 and I had to change the way to generate the apk to upload them. Previously I had been using version 2017.3 and I try with 2018.4 but due to problems I changed to 2017.4 and the result has been the same.
Previously the generated apk file (with 2017.3) had about 35mb. Now, using IL2CPP to generate an apk for ARM64 and ARM32 I can not get anything lower than 450mb.
I have used many combinations and I have not achieved significant changes. In detail:
I did tests using an empty project (just a simple scene) and making these combinations:
Scripting runtime: NET 3.5
Scripting backend: IL2CPP
Api compatibility: NET 2.0
Target architec: ARMv7 and 64
- (file.apk = 23mb)
- (file.0.1-v1.symbols.zip: 311mb)
-------------------------------------
Scripting runtime: NET 3.5
Scripting backend: IL2CPP
Api compatibility: NET 2.0 subset
Target architec: ARM v7 and 64
- (file.apk = 14mb)
- (file.0.1-v1.symbols.zip: 211mb)
--------------------------------------
Scripting runtime: NET 4.6
Scripting backend: IL2CPP
Api compatibility: NET 4.6
Target architec: ARM v7 and 64
- (file.apk = 20mb)
- (file.0.1-v1.symbols.zip: 464mb) !!!!
--------------------------------------
Scripting runtime: NET 3.5
Scripting backend: Mono
Api compatibility: NET 2.0 subset
Target architec: ARM v7
- (file.apk = 10mb)
--------------------------------------
Scripting runtime: NET 3.5
Scripting backend: IL2CPP
Api compatibility: NET 2.0 subset
Target architec: ARM 64
- (file.apk = 8mb)
- (file.0.1-v1.symbols.zip: 108mb) !!!!
--------------------------------------
I was never able to achieve a single .apk file. There were always two. I have also used "strip engine code", "Split application binary" and "Build app Bundles" but there were no significant changes.
And the worst, using my original project, the smallest values obtained were: file.apk (approx 25mb) file.symbols.zip (approx 550mb) !!!
Previously (2017.3) with the same project it obtained a single .apk file of 35mb aprox. Is it possible to improve this? These values are to scare the users. No one will want to download and install the app. I have read about the differences between Mono and IL2CPP but I have found very little information about this size problem. Is this normal now? The big increase in the size of the .apk files
Thanks in advance
Your answer
Follow this Question
Related Questions
Can't run APK, after launch just black screen. Any suggestions what I can do? 0 Answers
shadows r in unity but not in android devices 1 Answer
Scripts do not work on mobile build 0 Answers
Why do projects exported to Android Studio always crash? 0 Answers
Build for Android edges being cut off 4 Answers