BUILD FAILED - Could someone tell me what I can do to solve this problem?

I created a plugin to try to sell on Epic Games, but I’m having trouble packaging it because of this issue. If you need any more information, just ask. It’s my first time trying to package code, and I’m not exactly sure how to do it. I’m just following tutorials I find on the internet

D:\Development\HealthComponent>cmd /k “Build 5.1 HealthSystem.bat”

D:\Development\HealthComponent>“D:\Epic Games\Unreal Engine\UE_5.2\Engine\Build\BatchFiles\RunUAT.bat” BuildPlugin -Plugin=“D:\Epic Games\Unreal Engine\UE_5.2\HealthSystem\Plugins\ReplicatedHealth\ReplicatedHealth.uplugin” -Package=“D:\Development\HealthComponent\HealthSystem 5.1” -Rocket -VS2022
Running AutomationTool…
Using bundled DotNet SDK version: 6.0.302
Starting AutomationTool…
Parsing command line: BuildPlugin -Plugin=“D:\Epic Games\Unreal Engine\UE_5.2\HealthSystem\Plugins\ReplicatedHealth\ReplicatedHealth.uplugin” -Package=“D:\Development\HealthComponent\HealthSystem 5.1” -Rocket -VS2022
Initializing script modules…
Total script module initialization time: 0.24 s.
Executing commands…
Copying 88 file(s) using max 64 thread(s)
Reading plugin from D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\ReplicatedHealth.uplugin…
Building plugin for host platforms: Win64
Running: D:\Epic Games\Unreal Engine\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\Epic Games\Unreal Engine\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” UnrealEditor Win64 Development -Project=“D:\Development\HealthComponent\HealthSystem 5.1\HostProject\HostProject.uproject” -plugin=“D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\ReplicatedHealth.uplugin” -noubtmakefiles -manifest=“D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml” -nohotreload -log=“C:\Users\netoo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+Unreal+Engine+UE_5.2\UBT-UnrealEditor-Win64-Development.txt”
Log file: C:\Users\netoo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+Unreal+Engine+UE_5.2\UBT-UnrealEditor-Win64-Development.txt
Module ‘Http’ (referenced via allmodules option → ReplicaLink.Build.cs) has incorrect text case. Did you mean ‘HTTP’?
Parsing headers for UnrealEditor
Running Internal UnrealHeaderTool “D:\Development\HealthComponent\HealthSystem 5.1\HostProject\HostProject.uproject” “D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest” -WarningsAsErrors -installed
Total of 4 written
Reflection code generated for UnrealEditor in 1.4442341 seconds
Writing manifest to D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml
Building UnrealEditor…
Using Visual Studio 2022 14.34.31948 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (6 physical cores, 12 logical cores)
Executing up to 6 processes, one per physical core
Building 6 actions with 6 processes…
[1/6] Resource Default.rc2
[2/6] Compile [x64] SharedPCH.Engine.ShadowErrors.cpp
[3/6] Compile [x64] Module.ReplicatedHealth.cpp
[4/6] Link [x64] UnrealEditor-ReplicatedHealth.lib
Criando biblioteca D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReplicatedHealth\UnrealEditor-ReplicatedHealth.lib e objeto D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReplicatedHealth\UnrealEditor-ReplicatedHealth.exp
[5/6] Link [x64] UnrealEditor-ReplicatedHealth.dll
Criando biblioteca D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReplicatedHealth\UnrealEditor-ReplicatedHealth.suppressed.lib e objeto D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReplicatedHealth\UnrealEditor-ReplicatedHealth.suppressed.exp
[6/6] WriteMetadata UnrealEditor.target
Total time in Parallel executor: 31.41 seconds
Total execution time: 37.92 seconds
Took 38,0460242s to run dotnet.exe, ExitCode=0
Building plugin for target platforms: Android, Linux, LinuxArm64, Win64
Running: D:\Epic Games\Unreal Engine\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\Epic Games\Unreal Engine\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” UnrealGame Android Development -Project=“D:\Development\HealthComponent\HealthSystem 5.1\HostProject\HostProject.uproject” -plugin=“D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Plugins\ReplicatedHealth\ReplicatedHealth.uplugin” -noubtmakefiles -manifest=“D:\Development\HealthComponent\HealthSystem 5.1\HostProject\Saved\Manifest-UnrealGame-Android-Development.xml” -nohotreload -architectures=arm64 -log=“C:\Users\netoo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+Unreal+Engine+UE_5.2\UBT-UnrealGame-Android-Development.txt”
Log file: C:\Users\netoo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+Unreal+Engine+UE_5.2\UBT-UnrealGame-Android-Development.txt
Platform Android is not a valid platform to build. Check that the SDK is installed properly.
Took 0,563798s to run dotnet.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\netoo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+Unreal+Engine+UE_5.2\UBT-UnrealGame-Android-Development.txt)
AutomationTool executed for 0h 0m 40s
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED

D:\Development\HealthComponent>

I know nothing about Android, but I’d say this was key

Platform Android is not a valid platform to build. Check that the SDK is installed properly.

Thanks, I’ll check, but I’m not even trying to create for Android, I’m just creating for Windows. I made sure I unchecked all the options related to Android, but this problem still appeared

1 Like

Try this: Plugin Builder in Code Plugins - UE Marketplace