How to package game as an APK?

I have everything configured for the Android development done, and now I just need to package it. How do I package it as an APK file format? That is the file type I need for the Google Play Store.

Thanks!

Hi Denathorn,

Try these settings to generate an APK file for Android from UE4.8 *set your Staging Directory to a folder on your desktop for easy access:

80613-package+settings.png

Result:

Thank you, I’ll give that a shot!

I’m marking this as resolved, but if this does not resolve the issue, respond and we will continue to troubleshoot why you are not able to create an APK file.

Will packaging it reduce the file size? Right now, it’s at about 300 mgs, and it needs to be 50.

Packaging will compress and reduce file size somewhat. To reduce it further, I recommend making a copy of the project (in case you break something) and deleting all non-essential files from the Content Browser. Also, under Project Settings>Packaging: be sure “Include Debug Files” is unchecked. (The Debug file is appox 100mb.)

Hi, i tried to configure like this solution, but when i’m packaging to android, the program send this message:

ERROR: ARCHIVE FAILED - C:\Users\MyUser\Documents\Unreal Projects\Projeto_425\Binaries\Android\Projeto_425-arm64.apk was not found
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\MyUser\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\Log.txt for full exception trace)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=36 (Error_AppNotFound)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED
PackagingResults: Error: App package file not found for Install

I tried to package in Unreal’s 4.23, 4.24, and 4.25 and it does’nt work it, what can i do to solve this problem?

I was looking in Binaries Fold (inside of project folder) and there, it does’nt any apk (in arm7 or arm64)

Those images from Answer Hub do not work anymore, could any one fix it?

1 Like