# 4.26 Android Package APK file is so huge

**URL:** <https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [December 4, 2020, 8:49pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582 "2020-12-04T20:49:46Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Augbrite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Augbrite](https://forums.unrealengine.com/u/Augbrite)\
**Post date:** [December 4, 2020, 8:49pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/1 "2020-12-04T20:49:46Z")

</div>

I got an issue with the 4.26 Android APK package, my project has 70 megabytes but APK is hudge 273 megabytes.  
Why it’s so huge for mobile in 4.26? Also sometimes i got crushes on Open Level node. All levels included in package, save data in APK and compressed package.

 ![33333.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/5/a5561999e83a41303e1c5e1f09e843bedfa043b6.jpeg)

---

<div class="post-metadata">

**Author:** ![Schmutza](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/schmutza/32/739729_2.png) [@Schmutza](https://forums.unrealengine.com/u/Schmutza)\
**Post date:** [December 5, 2020, 9:01pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/2 "2020-12-05T21:01:12Z")

</div>

Same issue here - a 70mb APK on 4.25 is now over 230mb. OBB size is unchanged. This shouldn’t have hit production - how long until we have a fix? Anyone know how to even go about tracking this down? It’s crickets around the community on resolution.

---

<div class="post-metadata">

**Author:** ![Augbrite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Augbrite](https://forums.unrealengine.com/u/Augbrite)\
**Post date:** [December 5, 2020, 9:20pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/3 "2020-12-05T21:20:01Z")

</div>

> [@Schmutza](#):
>
> Same issue here - a 70mb APK on 4.25 is now over 230mb. OBB size is unchanged. This shouldn’t have hit production - how long until we have a fix? Anyone know how to even go about tracking this down? It’s crickets around the community on resolution.

I don’t know and i will stay on the 4.25 coz it’s stable and much less megabytes. I Hope Epics will fix that but for now, i don’t want to use huge apks and crushes on OpenLevel node…

---

<div class="post-metadata">

**Author:** ![Schmutza](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/schmutza/32/739729_2.png) [@Schmutza](https://forums.unrealengine.com/u/Schmutza)\
**Post date:** [December 5, 2020, 10:47pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/4 "2020-12-05T22:47:59Z")

</div>

Yeah, I’ve done a bunch of porting work with a custom engine build. So I’ll need to undo it all to redo later. There should be unit tests catching regressions like these - there’s really no excuse for them getting through.

---

<div class="post-metadata">

**Author:** ![Schmutza](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/schmutza/32/739729_2.png) [@Schmutza](https://forums.unrealengine.com/u/Schmutza)\
**Post date:** [December 6, 2020, 3:31am UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/5 "2020-12-06T03:31:47Z")

</div>

So, I managed to somewhat track down the cause. There’s clearly things which have changed in the way gradle handles things between versions that impact this.

In the commit d22fb4bcce5925d29f36ba83e3c33e25055a5785 on 11/16/2020 at 3:15:33pm, the gradle version was changed on line 25 to 4.0.0 in Engine/Source/Programs/UnrealBuildTool/Platform/Android/UEDeployAndroid.cs

When building with this change in version, what gets linked into libUE4.so (and likely other aspects) is changed significantly. While it builds, it seems no testing was done for the impact on the rest of the process, as if you just go in to this file and change it back to 3.5.3 then you will get build sizes around what you had in 4.25.

I’m using a source build, but that file is in the packaged build in source form, so you should just be able to open it up and edit it to get things sorted while using 4.26 until it’s properly addressed.

---

<div class="post-metadata">

**Author:** ![vova5697](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vova5697](https://forums.unrealengine.com/u/vova5697)\
**Post date:** [December 6, 2020, 6:03am UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/6 "2020-12-06T06:03:57Z")

</div>

> [@Augbrite](#):
>
> I don’t know and i will stay on the 4.25 coz it’s stable and much less megabytes. I Hope Epics will fix that but for now, i don’t want to use huge apks and crushes on OpenLevel node…

Have same problem!!! When fix this, Epic? The worst thing is that Open Level is crashed game on mobile((((!!!

---

<div class="post-metadata">

**Author:** ![Nire2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nire2020](https://forums.unrealengine.com/u/Nire2020)\
**Post date:** [December 6, 2020, 6:57pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/7 "2020-12-06T18:57:33Z")

</div>

Same, huge APK. Unfortunately I`m forced to use Unity.

---

<div class="post-metadata">

**Author:** ![Schmutza](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/schmutza/32/739729_2.png) [@Schmutza](https://forums.unrealengine.com/u/Schmutza)\
**Post date:** [December 6, 2020, 7:13pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/8 "2020-12-06T19:13:31Z")

</div>

Vova and Nire, check post #5, I put up details to fix this there.

---

<div class="post-metadata">

**Author:** ![vova5697](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vova5697](https://forums.unrealengine.com/u/vova5697)\
**Post date:** [December 7, 2020, 5:17am UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/9 "2020-12-07T05:17:51Z")

</div>

> [@Schmutza](#):
>
> Vova and Nire, check post #5, I put up details to fix this there.

Huge Apk is not problem for me. Crashed when use Open level on android is huge problem for me!!!

---

<div class="post-metadata">

**Author:** ![brokenpoly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brokenpoly](https://forums.unrealengine.com/u/brokenpoly)\
**Post date:** [December 7, 2020, 12:23pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/10 "2020-12-07T12:23:20Z")

</div>

Same issue here. APK size suddenly exploded in size. After inspecting the apk`s in Android Studio, the “libUE3.so” is clearly the main offender, so hopefully this will be fixed asap.

Before update :

 ![before.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/4/74f57dd91ab66f2cf0bfd3527ad9195fa31d8221.png)

After update :

 ![after.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/c/ac218c6934ae8fecd4c16eb0bbcd3c4f947af1ea.png)

---

<div class="post-metadata">

**Author:** ![Nire2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nire2020](https://forums.unrealengine.com/u/Nire2020)\
**Post date:** [December 10, 2020, 10:30pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/11 "2020-12-10T22:30:43Z")

</div>

**[Schmutza](https://forums.unrealengine.com/member/897872-schmutza) friend , please provide us solution for build size.**

---

<div class="post-metadata">

**Author:** ![Umkerius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Umkerius](https://forums.unrealengine.com/u/Umkerius)\
**Post date:** [December 28, 2020, 8:38pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/12 "2020-12-28T20:38:33Z")

</div>

Hello everyone!  
I’ve found a solution: open Config/DefaultEngine.ini and remove MinSDKVersion key in AndroidRuntimeSettings section. This solution may be the first step for further investigation, but it works

---

<div class="post-metadata">

**Author:** ![Eferus1389](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eferus1389](https://forums.unrealengine.com/u/Eferus1389)\
**Post date:** [January 13, 2021, 7:41pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/13 "2021-01-13T19:41:21Z")

</div>

> [@Umkerius](#):
>
> Hello everyone!  
> I’ve found a solution: open Config/DefaultEngine.ini and remove MinSDKVersion key in AndroidRuntimeSettings section. This solution may be the first step for further investigation, but it works

This works! I should also add that setting it to \*\*21 \*\*also works and it’s a better solution. Thanks!

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [June 15, 2021, 2:11pm UTC](https://forums.unrealengine.com/t/4-26-android-package-apk-file-is-so-huge/154582/14 "2021-06-15T14:11:58Z")

</div>

Just wanted to say thanks for flagging this!

We’ve identified and fixed the problem for 4.27.
