# Unreal Android Build Unknown Error

**URL:** <https://forums.unrealengine.com/t/unreal-android-build-unknown-error/2413715>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [March 24, 2025, 1:27pm UTC](https://forums.unrealengine.com/t/unreal-android-build-unknown-error/2413715 "2025-03-24T13:27:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BRUNINGBAOTREE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BRUNINGBAOTREE](https://forums.unrealengine.com/u/BRUNINGBAOTREE)\
**Post date:** [March 24, 2025, 1:27pm UTC](https://forums.unrealengine.com/t/unreal-android-build-unknown-error/2413715/1 "2025-03-24T13:27:03Z")

</div>

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** :

```auto
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!

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [March 24, 2025, 2:54pm UTC](https://forums.unrealengine.com/t/unreal-android-build-unknown-error/2413715/2 "2025-03-24T14:54:28Z")

</div>

Hello there @BRUNINGBAOTREE! Let’s see what we can do here.

Checking your log, the following line suggests that the android SDK/NDK API is not properly installed, configured, or mapped:

_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_

I would suggest following UE’s documentation regarding the full setup and configuration of the SDK, to ensure it works properly with your packing:

> **[Set Up Android SDK, NDK, and Android Studio using Turnkey for Unreal Engine |...](https://dev.epicgames.com/documentation/en-us/unreal-engine/how-to-set-up-android-sdk-and-ndk-for-your-unreal-engine-development-environment?application_version=5.3)**
>
> Install Android Studio and automatically add SDK components in Unreal Engine.

> **[Advanced setup and troubleshooting guide for using Android SDK. | Unreal...](https://dev.epicgames.com/documentation/en-us/unreal-engine/advanced-setup-and-troubleshooting-guide-for-using-android-sdk)**
>
> Advanced setup and troubleshooting guide for using Android SDK with Unreal Engine.

Additionally, please check the following thread, with a similar scenario, and its resolution:

> [@Android SDK not recognized by Unreal Engine 5](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686):
>
> Hi everyone, im new in Unreal and im trying to make Android export work, followed some tutorials, read the documentation and the forum, as far as i know this should be working but Unreal does not recognize Android for the export. Ill try to put in here my config as detailed as i can: i tried with Android sdk 4 (as required in the tutorial for Unreal 5), in one of the steps it says i must run a .bat this is what i get when i try to run that. so i installed the version 3.5.3, still th…

---

<div class="post-metadata">

**Author:** ![BRUNINGBAOTREE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BRUNINGBAOTREE](https://forums.unrealengine.com/u/BRUNINGBAOTREE)\
**Post date:** [March 25, 2025, 1:56am UTC](https://forums.unrealengine.com/t/unreal-android-build-unknown-error/2413715/3 "2025-03-25T01:56:06Z")

</div>

Thank you! @brs-sebascova!  
After trying several things by looking at the link you posted, I realized that the issue was caused by running a version of Android Studio that was too up-to-date!  
It’s all thanks to you! I really appreciate it!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 24, 2025, 1:56am UTC](https://forums.unrealengine.com/t/unreal-android-build-unknown-error/2413715/4 "2025-04-24T01:56:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
