Hello fellow android devs,
Methods that have been around for a while
Go to your Project\Config\DefaultEditor.ini and add the following 2 lines
-ContentDirectories=/Engine/MobileResources -> this removes 1,5-2Mb
Go to your engine directory 4.7/engine/content/slate/ <- In here take all folder except “old” and put them on a back up folder -> this removes 15-20Mb
**NOTE 1) !!!Not inside unreal engine though the engine will find them if they are in its scope!!! **
NOTE 2)!!!Once removed in order to run the editor again you need to place the files into the the 4.7/engine/content/slate/ again!!!
Now this for our project reduced our package of 65Mb -> 45Mb
Extra Method (it is probably known to some but i haven’t seen it clearly anywhere)
1)Open Project Launcher
2)Add new Custom Launch Profile (name what you like)
3)Project -> Navigate to your project.uproject
4)Build the first time (you can disable afterwards)
5)Cook for your texture of choice + localization (ex:en_US) and in additional cook options add the following: -clean -stage -pak -compressed -prereqs -distribution -nodebuginfo (as is)
6)Package and store locally (The output is your project’s binaries/android/ ignore the .so file)
7)Disable reply and launch (Unless you want to direct test your App but its much much slower just package and manually pass it to your device)
Edit: The above new method reduced the Apk from 65Mb -> 33Mb (Yes i didn’t even remove the slate files and mobile resources and got reduced that much) will be testing with the 45Mb reduced Apk from the old methods to see final results.
Edit 2: Final Apk size 26,3Mb Tappy Chicken Secret (Not really) revealed.