# How to reduce Android APK file size

**URL:** <https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [February 6, 2018, 9:09am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086 "2018-02-06T09:09:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_af105f5f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_af105f5f](https://forums.unrealengine.com/u/anonymous_user_af105f5f)\
**Post date:** [February 6, 2018, 9:09am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/1 "2018-02-06T09:09:08Z")

</div>

Hi Everyone,

I know a lot has been said about this in earlier posts. But the problem is apart from the one in Epic Documentation most of posts doesn’t give comprehensive steps to achieve it. Following the Epic documentation, we were certainly able to reduce the APK file size but it still is big (~40mb to 60mb) for a default new level (even without starter content). If we add any of our project content then certainly it will cross 150mb.

Can any one let us know what is the minimum size they can get for a DEFAULT level and how did you achieve it?

I have also read in several posts to disable things which are not used (removing fonts and all) and recompile the Editor from source which can reduce the size. Can anyone confirm this to be true and how can we go about this(a step by step guide may be)?

Most of our work is regarding ArchViz. We start with Blueprint template for creating our content. We also make sure to clean up the assets so as not to have any unwanted things. Only features we use are normal mesh collisions no Physx or any other stuff.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_75de26c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_75de26c9](https://forums.unrealengine.com/u/anonymous_user_75de26c9)\
**Post date:** [February 6, 2018, 1:53pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/2 "2018-02-06T13:53:46Z")

</div>

Hi,

Have you tried to build in production mode?

---

<div class="post-metadata">

**Author:** ![Sam\_Deiter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sam_deiter/32/1064709_2.png) [@Sam\_Deiter](https://forums.unrealengine.com/u/Sam_Deiter)\
**Post date:** [February 6, 2018, 2:09pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/3 "2018-02-06T14:09:34Z")

</div>

Hey ,

The following document can actually give you some ideas on how to go about doing this.,

> **[Optimization](https://docs.unrealengine.com/5.2/en-US/optimization-guides-for-android-in-unreal-engine/)**
>
> Best practices for improving performance for Android projects.

Please let us know if you have more questions.

---

<div class="post-metadata">

**Author:** ![DonFrag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonFrag](https://forums.unrealengine.com/u/DonFrag)\
**Post date:** [February 8, 2018, 4:03am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/4 "2018-02-08T04:03:58Z")

</div>

> [@Sam\_Deiter](#):
>
> Hey ,
> 
> The following document can actually give you some ideas on how to go about doing this.,
> 
> [https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/](https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/)
> 
> Please let us know if you have more questions.

Hey sam. Every time that this question is made the official answer is this link and “check the tappy chicken project”

The thing is tappy chicken is really small, how ever there is no detailed process of how did you reduce the size.  
There is some general rules like texture pot and so, but i believe that tappy chicken must use more than texture and audio optimization. I wonder if there is other hidden optimization such as config vars, blacklist, etc.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_af105f5f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_af105f5f](https://forums.unrealengine.com/u/anonymous_user_af105f5f)\
**Post date:** [February 8, 2018, 12:49pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/5 "2018-02-08T12:49:02Z")

</div>

Sam

> [@Sam\_Deiter](#):
>
> Hey ,
> 
> The following document can actually give you some ideas on how to go about doing this.,
> 
> [https://docs.unrealengine.com/latest…ducingAPKSize/](https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/)
> 
> Please let us know if you have more questions.

Hi @**[Sam Deiter](https://forums.unrealengine.com/member/868-sam-deiter)** , as I mentioned in my post, I did follow the document which resulted in bringing the blank Default level to 40 MB size. I still think 40 MB is high for a default level. Please see below the size reduction in each step for a Default level:

For Android (Shipping):

Default ------------------------------------------ 92.9 MB  
Compressing Cooked Content ----------- 50.8 MB  
Shared Material Shaders & Libraries — 49.1 MB  
Excluding Editor Content ------------------ 44.5 MB  
Disable Plugin -------------------------------- 43.8 MB  
PakBlacklist-Shipping ----------------------- 40.2 MB

For Windows 64 bit (Shipping):

Default ------------------------------------------- 208 MB  
Compressing Cooked Content ------------- 144 MB  
Shared Material Shaders & Libraries ----- 142 MB  
Excluding Editor Content -------------------- 137 MB  
Disable Plugin ---------------------------------- 108 MB  
PakBlacklist-Shipping ------------------------ 100 MB

Out of 100 MB, Engine folder is ~50 Mb: UE4PrereqSetup\_x64 - 39 MB, Third-Party binaries 11 MB  
(For Windows, need to create Win64 folder inside Project-\>Build folder and place PakBlacklist file, otherwise PakBlacklist won’t work)

So what I want to know:  
1 - Is there any other option which can reduce the file size further (may be, say 20 MB or less for a Default level)?  
(Unrelated to topic) 2 - Is TCP messaging plug-in mandatory for Standalone game? (Packaged game crashes with Fatal Error! if TCP Messaging plug-in is disabled)

Edit:  
In this following post, @fxtentacle\_ has mentioned he was able to reduce the size to some 34 MB which includes his game content also. This effectively looks like what PakBlacklist-Shipping does but I am not sure. I am NOT familiar with patching process and also not sure his patch works for 4.18. Is it possible to validate this process and probably provide little details regarding patching

> **[Topics tagged unreal-engine](https://forums.unrealengine.com/tags/intersection/unreal-engine/question)**
>
> Topics tagged unreal-engine

---

<div class="post-metadata">

**Author:** ![DonFrag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonFrag](https://forums.unrealengine.com/u/DonFrag)\
**Post date:** [February 13, 2018, 9:34pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/6 "2018-02-13T21:34:27Z")

</div>

My biggest problem are lighmap file sizes.plus i dont know if using instanced mesh vs merge mesh actor have any difference on lighmaps

---

<div class="post-metadata">

**Author:** ![kojiyijian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kojiyijian](https://forums.unrealengine.com/u/kojiyijian)\
**Post date:** [December 25, 2018, 9:33am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/7 "2018-12-25T09:33:10Z")

</div>

unity blank project is less 20mb

---

<div class="post-metadata">

**Author:** ![slabs37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slabs37](https://forums.unrealengine.com/u/slabs37)\
**Post date:** [September 16, 2019, 5:43am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/8 "2019-09-16T05:43:46Z")

</div>

Unreal Engines default map is not blank!

I’ve managed to create a 50 level game

First packaging was 127mb  
After removing everything extra (Post processing, Sky sphere, Atmospheric fog, …)  
The size went down to 39mb  
After adding music its now 40mb

I’m now trying to bring it down to 35 (Its possible if i manually exclude a few engine contents)

The Unreal Engine (4.21) library for android compressed inside a apk is 29mb, so theoretically its possible to make apps as small as 30mb

---

<div class="post-metadata">

**Author:** ![Walkintothedeep2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Walkintothedeep2](https://forums.unrealengine.com/u/Walkintothedeep2)\
**Post date:** [September 16, 2019, 11:55pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/9 "2019-09-16T23:55:46Z")

</div>

I’ve looked into this and you might want to do some research into Oodle by RADgametools  
they have a few other handy tools as well.  
[http://www.radgametools.com/oodlecompressors.htm](http://www.radgametools.com/oodlecompressors.htm)

---

<div class="post-metadata">

**Author:** ![zompi2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zompi2/32/937524_2.png) [@zompi2](https://forums.unrealengine.com/u/zompi2)\
**Post date:** [May 13, 2020, 7:30am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/10 "2020-05-13T07:30:50Z")

</div>

I know this is an old topic, but I want to post my blog article about reducing Android build size, just so everybody can find it here: [https://damnow.blogspot.com/2018/12/reducing-build-size-of-android-game-in.html](https://damnow.blogspot.com/2018/12/reducing-build-size-of-android-game-in.html)

I was able to shrink whole Third Person Template to 30MB.

---

<div class="post-metadata">

**Author:** ![do-while-true](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@do-while-true](https://forums.unrealengine.com/u/do-while-true)\
**Post date:** [March 27, 2021, 4:17pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/11 "2021-03-27T16:17:03Z")

</div>

> [@zompi2](#):
>
> I know this is an old topic, but I want to post my blog article about reducing Android build size, just so everybody can find it here: [https://damnow.blogspot.com/2018/12/reducing-build-size-of-android-game-in.html](https://damnow.blogspot.com/2018/12/reducing-build-size-of-android-game-in.html)
> 
> I was able to shrink whole Third Person Template to 30MB.

This link isn’t working anymore, do you still have it somewhere? Would love to read it!

---

<div class="post-metadata">

**Author:** ![zompi2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zompi2/32/937524_2.png) [@zompi2](https://forums.unrealengine.com/u/zompi2)\
**Post date:** [March 28, 2021, 8:17am UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/12 "2021-03-28T08:17:42Z")

</div>

> [@do-while-true](#):
>
> This link isn’t working anymore, do you still have it somewhere? Would love to read it!

Oh, sorry, I was changing page address. I fixed it in original post. It is [Reducing build size of Android game in Unreal Engine 4](https://zompidev.blogspot.com/2018/12/reducing-build-size-of-android-game-in.html)

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [April 1, 2021, 3:13pm UTC](https://forums.unrealengine.com/t/how-to-reduce-android-apk-file-size/106086/13 "2021-04-01T15:13:09Z")

</div>

> [@slabs37](#):
>
> Unreal Engines default map is not blank!
> 
> I’ve managed to create a 50 level game
> 
> First packaging was 127mb  
> After removing everything extra (Post processing, Sky sphere, Atmospheric fog, …)  
> The size went down to 39mb  
> After adding music its now 40mb
> 
> I’m now trying to bring it down to 35 (Its possible if i manually exclude a few engine contents)
> 
> The Unreal Engine (4.21) library for android compressed inside a apk is 29mb, so theoretically its possible to make apps as small as 30mb

will you please share the packaging tips and tricks you have followed to reduce size 🙂
