Big android apk size even after applying downsizing solutions

NOTE: I’ve chosen this as a discussion rather than “Ask a question” from the forums because it says “Access Denied” when i try to use “Ask a question”.

UPDATE: I have found that 4.26 version is quite not good and I either have to use a more stable 4.25 version (which doesn’t allow the levels to load because of unreal version downgrading) or looking at this link: 4.26 Android Package APK file is so huge - #12 by Umkerius looks like i need to use 4.27 . haven’t tried it, will post updates.

I am working on a very simple android game using Unreal 4.26. The game consists of a enclosed room (literally with nothing on it) and an object the player can throw. That is it.

The build apk size initially was abut 180 mb and so I followed the following links and applied those suggestions on the project.

  1. Youtube links

1.1) How To Lower Your Unreal Engine Project File Size! - YouTube

1.2) Unreal Engine 4 Android Mobile Game Size Reduce APK Game Size Unreal Engine 4 Reduce Package Size - YouTube

1.3) How to massively reduce Android package size in Unreal engine 4 - YouTube

  1. Forums

2.1) How to reduce mobile file size - Mobile - Unreal Engine Forums

2.2) Delete Engine Content for packaged Mobile game? - Mobile - Unreal Engine Forums

2.3) Why are android file sizes so big? - Mobile - Unreal Engine Forums

2.4) https://answers.unrealengine.com/questions/80810/different-apk-size-in-43-and-42.html

I’ve created a PakBlacklist-Shipping.txt file to ignore engine content as well. Here’s the text inside the file:


../../../Engine/Content/Slate/Fonts/

../../../Engine/Content/Slate/Common/

../../../Engine/Content/EngineDebugMaterials/

../../../Engine/Content/Maps/

../../../Engine/Content/Tutorial

../../../Engine/Content/Slate/Docking/

../../../Engine/Content/Slate/MessageLog/

../../../Engine/Content/MobileResources/

../../../Engine/Content/Slate/Old/

../../../Engine/Content/Slate/Icons/

../../../Engine/Content/EditorLandscapeResources/

../../../Engine/Content/EditorSounds/

../../../Engine/Content/EditorMaterials/

../../../Engine/Content/EditorMeshes/

../../../Engine/Content/EditorResources/

../../../Engine/Content/VREditor/

../../../Engine/Content/EngineFonts/Faces/DroidSansFallback.uasset

../../../Engine/Content/EngineFonts/Faces/DroidSansFallback.uexp

../../../Engine/Content/EngineFonts/Faces/DroidSansFallback.ufont

../../../Engine/Content/EngineFonts/Faces/RobotoBoldItalic.uasset

../../../Engine/Content/EngineFonts/Faces/RobotoBoldItalic.uexp

../../../Engine/Content/EngineFonts/Faces/RobotoBoldItalic.ufont

../../../Engine/Content/EngineFonts/Faces/RobotoItalic.uasset

../../../Engine/Content/EngineFonts/Faces/RobotoItalic.uexp

../../../Engine/Content/EngineFonts/Faces/RobotoItalic.ufont

../../../Engine/Content/EngineFonts/Faces/RobotoLight.uasset

../../../Engine/Content/EngineFonts/Faces/RobotoLight.uexp

../../../Engine/Content/EngineFonts/Faces/RobotoLight.ufont

../../../Engine/Content/EngineFonts/Faces/RobotoRegular.uasset

../../../Engine/Content/EngineFonts/Faces/RobotoRegular.uexp

../../../Engine/Content/EngineFonts/Faces/RobotoRegular.ufont

I’ve also removed the starter content, removed all un-necessary & un-used files. The textures/images are of maximum 5kb size, I’ve also removed the one wav file I used and the lowest I can get is to the lowest of 54mb.

I am not sure what else I can do to make it lower. Can anyone point out what I’m doing wrong and what more I need to do to make it go lower?

I also found this Size of Android build so big in 4.26 - Mobile - Unreal Engine Forums where it is said that 4.26’s cooked folder is bugged when compared to 4.25. Could this be it?

1 Like