Hi, my UE5.2 Blueprint project can build and run on android phone but C++ project can’t. The c++ project compile and runs fine on windows. When I tried to run it on a android phone, I got an error complaining android platform is not supported, sdk is not setup. But I can build the blueprint project and deploy it to my android phone…
Any idea how I can fix this? Is this a new issue with UE5.2? I’m trying UE5.1.1 currently but no idea if that will work.
The logs:
LogPlayLevel: UAT: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Launch Task, Time: 12.296171
LogPlayLevel: UAT: Running: D:\Epic Games\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\Epic Games\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” CastleTutorial Android Development -Project=“D:\projects\Unreal Projects\CastleTutorial\CastleTutorial.uproject” “D:\projects\Unreal Projects\CastleTutorial\CastleTutorial.uproject” -NoUBTMakefiles -remoteini=“D:\projects\Unreal Projects\CastleTutorial” -skipdeploy -Manifest=“D:\projects\Unreal Projects\CastleTutorial\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\legol\AppData\Roaming\U
nreal Engine\AutomationTool\Logs\D+Epic+Games+UE_5.2\UBT-CastleTutorial-Android-Development.txt”
LogPlayLevel: UAT: Log file: C:\Users\legol\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE_5.2\UBT-CastleTutorial-Android-Development.txt
LogPlayLevel: UAT: Platform Android is not a valid platform to build. Check that the SDK is installed properly.
LogPlayLevel: UAT: Took 1.1734377s to run dotnet.exe, ExitCode=6
LogPlayLevel: UAT: UnrealBuildTool failed. See log for more details. (C:\Users\legol\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE_5.2\UBT-CastleTutorial-Android-Development.txt)
LogPlayLevel: UAT: AutomationTool executed for 0h 0m 13s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=6 (6)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.751063
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error