Hi, I’m trying to package an Android AR project with Unreal Engine 5.3.2 and I’m getting the following build error.
Can someone please help me fix it?
I’m running Visual Studio 2022 17.6 and that didn’t fix it. I was running 17.9 but I read online that it was best to downgrade to 17.6
I have all the correct sdk’s and ndk’s as well as Android studio Flamingo.
I even have .net 6.0 installed.
Maybe a need to make a custom environment variable for .net?
I believe the issue is with the .Net framework and VS 2022.
It could be a toolchain issue?
UATHelper: Packaging (Android (ASTC)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Android (ASTC)): Running: D:\Unreal Engine Versions\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\Unreal Engine Versions\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Android Development -Project=“D:\Unreal Engine Projects\AR_Image_Tracking1\UE_Project.uproject” -Manifest=“D:\Unreal Engine Projects\UE_Project\Intermediate\Build\Manifest.xml” -remoteini=“D:\Unreal Engine Projects\AR_Image_Tracking1” -skipdeploy -log=“C:\Users\M\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unrea
l+Engine+Versions+UE_5.3\UBT-UE_Project-Android-Development.txt”
UATHelper: Packaging (Android (ASTC)): Could not execute because the specified command or file was not found.
UATHelper: Packaging (Android (ASTC)): Possible reasons for this include:
UATHelper: Packaging (Android (ASTC)): * You misspelled a built-in dotnet command.
UATHelper: Packaging (Android (ASTC)): * You intended to execute a .NET program, but dotnet-D:\Unreal Engine Versions\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll UE_Project Android Development -Project=D:\Unreal does not exist.
UATHelper: Packaging (Android (ASTC)): * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
UATHelper: Packaging (Android (ASTC)): Took 0.31s to run dotnet.exe, ExitCode=1
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details. (C:\Users\Mark\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+Engine+Versions+UE_5.3\UBT-UE_Project-Android-Development.txt)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 2s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error