# Why is libUE4.so so big?

**URL:** <https://forums.unrealengine.com/t/why-is-libue4-so-so-big/118526>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [November 8, 2018, 4:42pm UTC](https://forums.unrealengine.com/t/why-is-libue4-so-so-big/118526 "2018-11-08T16:42:53Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [November 8, 2018, 4:42pm UTC](https://forums.unrealengine.com/t/why-is-libue4-so-so-big/118526/1 "2018-11-08T16:42:53Z")

</div>

hi

i’ve been porting my game to android, managed to get the size down to 83mb, and i’m now trying to decrease the size even more

after checking the files inside the .apk and i found that libUE4.so is 76mb (after compressed in apk its 23mb) and my game size drops to 60mb

is there anyway to compress libUE4.so?

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [November 8, 2018, 7:32pm UTC](https://forums.unrealengine.com/t/why-is-libue4-so-so-big/118526/2 "2018-11-08T19:32:48Z")

</div>

> [@slabs37](#):
>
> hi
> 
> i’ve been porting my game to android, managed to get the size down to 83mb, and i’m now trying to decrease the size even more
> 
> after checking the files inside the .apk and i found that ue4lib.so is 76mb (after compressed in apk its 23mb) and my game size drops to 60mb
> 
> is there anyway to compress ue4lib.so?

I assume you mean libUE4.so. This is so big because it includes all compiled C++ engine and game source code. The only thing you can do is to enable option Project Settings -\> Packaging -\> Create compressed cooked packages.

---

<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:** [November 9, 2018, 1:48pm UTC](https://forums.unrealengine.com/t/why-is-libue4-so-so-big/118526/3 "2018-11-09T13:48:39Z")

</div>

Thanks, already had create compressed cooked packages enabled  
It was weird to me how big it was because for Unity its only 16mb

---

<div class="post-metadata">

**Author:** ![NUKETheWay](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nuketheway/32/489447_2.png) [@NUKETheWay](https://forums.unrealengine.com/u/NUKETheWay)\
**Post date:** [August 23, 2021, 5:49am UTC](https://forums.unrealengine.com/t/why-is-libue4-so-so-big/118526/4 "2021-08-23T05:49:57Z")

</div>

Same problem. My game is 60 mb after extracting main.obb is only 10mb and libUE4.so is 177 mb
