# Exclude Engine Content From Packaging for android, 4.27

**URL:** <https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question, UE4-27\
**Created:** [January 25, 2022, 3:52am UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733 "2022-01-25T03:52:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usama\_Gunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Usama\_Gunner](https://forums.unrealengine.com/u/Usama_Gunner)\
**Post date:** [January 25, 2022, 3:52am UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/1 "2022-01-25T03:52:39Z")

</div>

> [@Usama\_Gunner](#):
>
> ![EngineCOntentRemove](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/3/63e456ee0bb5a878dccae60f6f8e87900376a073.png)

I have added blacklist-development.txt to project–build–android. But engine content is not excluded. I have read docs and I did exactly as mentioned in Docs. MY game size is 4mb and engine content is 99mb. I want to exclude engine content from my android package. I have attached image to show you what I did. Iam in development phase at the moment. Kindly guide me how to exclude engine content?

---

<div class="post-metadata">

**Author:** ![dev.ue.games](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dev.ue.games/32/466816_2.png) [@dev.ue.games](https://forums.unrealengine.com/u/dev.ue.games)\
**Post date:** [January 25, 2022, 11:13am UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/2 "2022-01-25T11:13:10Z")

</div>

> [@Usama\_Gunner](#):
>
> I have attached image to show you what I did. Iam in development phase at the moment. Kindly guide me how to exclude engine content?

> **[Reducing build size of Android game in Unreal Engine 4](https://zompidev.blogspot.com/2018/12/reducing-build-size-of-android-game-in.html)**
>
> Unreal Engine 4 is considered to be a big, bulky engine that generates a lot of data and has huge build sizes. Such feature might be a serio...

a little old but on the principle still relevant)

---

<div class="post-metadata">

**Author:** ![Usama\_Gunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Usama\_Gunner](https://forums.unrealengine.com/u/Usama_Gunner)\
**Post date:** [January 25, 2022, 1:15pm UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/3 "2022-01-25T13:15:46Z")

</div>

i have tried all this but this method ot excluding anything from the build

---

<div class="post-metadata">

**Author:** ![Usama\_Gunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Usama\_Gunner](https://forums.unrealengine.com/u/Usama_Gunner)\
**Post date:** [January 25, 2022, 1:16pm UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/4 "2022-01-25T13:16:18Z")

</div>

I think iam loosing my hope with unreal engine for mobiles package size issue

---

<div class="post-metadata">

**Author:** ![dev.ue.games](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dev.ue.games/32/466816_2.png) [@dev.ue.games](https://forums.unrealengine.com/u/dev.ue.games)\
**Post date:** [January 25, 2022, 1:19pm UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/5 "2022-01-25T13:19:51Z")

</div>

here is my clear build size

 ![Screenshot_18](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/d/ad6e84d545a6c53bde7a82002d81492faca7f76c.png)

---

<div class="post-metadata">

**Author:** ![dev.ue.games](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dev.ue.games/32/466816_2.png) [@dev.ue.games](https://forums.unrealengine.com/u/dev.ue.games)\
**Post date:** [January 25, 2022, 1:21pm UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/6 "2022-01-25T13:21:27Z")

</div>

but people say you can do even less))until I don’t know how 🙂

---

<div class="post-metadata">

**Author:** ![dev.ue.games](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dev.ue.games/32/466816_2.png) [@dev.ue.games](https://forums.unrealengine.com/u/dev.ue.games)\
**Post date:** [January 25, 2022, 6:23pm UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/7 "2022-01-25T18:23:29Z")

</div>

re-read this blog) it describes how to unpack your project and see what is packed in the middle… this size 39mb I reached thanks to him… without obb 35mb apk.(arm64). I do not think it is possible be reduced size apk in the current version of the engine)) but try

---

<div class="post-metadata">

**Author:** ![neofuturelabs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neofuturelabs/32/1194562_2.png) [@neofuturelabs](https://forums.unrealengine.com/u/neofuturelabs)\
**Post date:** [February 22, 2023, 9:35am UTC](https://forums.unrealengine.com/t/exclude-engine-content-from-packaging-for-android-4-27/274733/8 "2023-02-22T09:35:53Z")

</div>

blacklist-development.txt has actually been deprecated from ue v4.25 or so.

The blacklist txt file method has been replaced by DefaultPakFileRules.ini

Directions on how to set this up in the following post:

> [@PAK blacklist file deprecated in favor of DefaultPakFileRules.ini](https://forums.unrealengine.com/t/pak-blacklist-file-deprecated-in-favor-of-defaultpakfilerules-ini/153080/5):
>
> Thanks for the information. After first trying the PakBlacklist rules without realizing they are deprecated and ignored during packaging, and then after a couple more hours of trial and error, I finally managed to get the exclusion list working. Results: Saved about 3MB in final shipping package size, mostly from the excluded Slate image files. Not too significant, but at least it works. How to get it to work: Create the file DefaultPakFileRules.ini in your [Project]/Config directory. Pa…
