Hello developers!
I’m new to Unreal Engine and just starting to learn.
First, I apologize for my poor English, but I’m really struggling with a problem, so I had to write this post.
Right now, I’m trying to learn how to build for Android. I’m using the default TopDown project without adding any assets or modifying any Blueprints. I have downloaded the necessary SDK, NDK, and JDK, set up the environment variables, and attempted packaging. However, all my attempts have failed.
I honestly don’t know what else to try, so I’m reaching out for help.
Please, any assistance would be greatly appreciated!
Here is the build log:
LogUObjectHash: Compacting FUObjectHashTables data took 0.68ms
LogTurnkeySupport: Selected target: Shiba2
LogLauncherProfile: Unable to use promoted target - D:/Shiba2/Binaries/Android/Shiba2.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="D:/Shiba2/Shiba2.uproject" Turnkey -command=VerifySdk -platform=Android -UpdateIfNeeded -EditorIO -EditorIOPort=14045 -project="D:/Shiba2/Shiba2.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="D:/Shiba2/Shiba2.uproject" -target=Shiba2 -unrealexe="C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Android -cookflavor=Multi -installed -stage -archive -package -bu
ild -pak -iostore -compressed -prereqs -archivedirectory="D:/Shiba2" -clientconfig=Development" -nocompile -nocompileuat ]
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Running AutomationTool...
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Starting AutomationTool...
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Parsing command line: -ScriptsForProject=D:/Shiba2/Shiba2.uproject Turnkey -command=VerifySdk -platform=Android -UpdateIfNeeded -EditorIO -EditorIOPort=14045 -project=D:/Shiba2/Shiba2.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=D:/Shiba2/Shiba2.uproject -target=Shiba2 -unrealexe="C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Android -cookflavor=Multi -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=D:/Shiba2 -clientc
onfig=Development -nocompile -nocompileuat
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Initializing script modules...
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Total script module initialization time: 0.26 s.
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Executing commands...
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Installed Sdk validity:
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Android: (Status=Valid, Allowed_Sdk=r25b, Current_Sdk=r25b, Allowed_AutoSdk=r25b, Current_AutoSdk=, Flags="InstalledSdk_ValidVersionExists, Sdk_HasBestVersion")
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Scanning for envvar changes...
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): ... done!
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Cleaning Temp Paths...
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): BUILD SUCCESSFUL
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Setting up ProjectParams for D:\Shiba2\Shiba2.uproject
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Running: C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Shiba2 Android Development -Project=D:\Shiba2\Shiba2.uproject -Manifest=D:\Shiba2\Intermediate\Build\Manifest.xml -remoteini="D:\Shiba2" -skipdeploy -log="C:\Users\qkrtm\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-Shiba2-Android-Development.txt"
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Log file: C:\Users\qkrtm\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-Shiba2-Android-Development.txt
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Creating makefile for Shiba2 (no existing makefile)
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Android (8490178, based on r450784d) clang version 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Target: x86_64-w64-windows-gnu
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Thread model: posix
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): InstalledDir: C:/Users/qkrtm/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Total execution time: 1.35 seconds
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): The NDK API requested '' not installed in C:/Users/qkrtm/AppData/Local/Android/Sdk/ndk/25.1.8937393/meta/platforms.json
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): Took 1.48s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): UnrealBuildTool failed. See log for more details.
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (Multi: ASTC, DXT, ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error
Does anyone know how to solve this issue?
Thank you so much in advance!