Android build Unknown Error, AutomationTool exiting with ExitCode=1 (Error_Unknown)

I hope I can get help with this, I’ve tried every possible solution I have looked up.

My Unreal 5.4 android project will not package, I have been getting this error:

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error

Please, any help would be appreciated.

Are you running any plugins? If so try disabling those and test if it errors. Also, could you post the full packaging log? Some things up above the ‘build failed’ section are usually helpful. The Exit Code=1 is a fairly broad error. Thanks!

1 Like

As far as I know there aren’t any plugins causing the error.

DropZoneGalaxy.log (593.4 KB)

I have attached the output log.

Let me know if it helps.

Do you have VTune installed, by chance? The LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126) part stands out to me.

Not that I can tell.

I decided to create an empty android project and do an aab build and it packaged just fine apparently. Makes me think it is something in my projects settings, not the android studio installation or something else on my PC.

If AdMob support is enabled or your game has ads, try disabling it and packaging it again.

Just tried turning it off, still failed to package with the same error.

Another thing you can try is creating a new empty project, then copying the “Content” folder from the project with the error into the new project. Sometimes, this fixes unknown errors.

I was going to recommend the same thing Lowen did and try rebuilding it over on an empty project(Migrating to a new project to test) and see if the error remains.

Migrate the entire content folder from the editor instead of copy/paste from the folders?

Yes. You’ll basically migrate everything over to a new project/blank project to re-test.