Error UAT BUILD FAILED Expecting to find a type to be declared in a target rules named 'CHEECKEN_SLAMTarget'

Hello, I’m not a programmer, and I’m trying to launch the game I’m working on on Android. In the past, I had already tried, and it was working, but trying again today, I encountered an error, and I don’t know how to solve it. In the editor, the game starts without any issues, but the error occurs when I try to launch it on Android or when I try to make the package. I’m attaching the complete log file.

UBT-CHEECKEN_SLAM-Android-Shipping.txt (8.5 KB)

this is the short version on the editor window:

LogTurnkeySupport: Display: Launching on Android_Multi@61cf82f0
LogUObjectHash: Compacting FUObjectHashTables data took 0.84ms
LogPlayLevel: Launcher Device ID: Android_Multi@61cf82f0
LogPlayLevel: PlayLevel: No blueprints needed recompiling
LogLauncherProfile: Project requires temp target (FastNoiseGenerator plugin is enabled)
LogLauncherProfile: Unable to use promoted target - E:/PROJECTS/MYGAME/CHEECKEN SLAM/UREAL PROJ/V0.01/CHEECKEN_SLAM/Binaries/Android/UnrealGame-Android-Shipping.target does not exist.
LogPlayLevel: UAT: Running AutomationTool…
LogPlayLevel: UAT: Using bundled DotNet SDK version: 6.0.302
LogPlayLevel: UAT: Starting AutomationTool…
LogPlayLevel: UAT: Parsing command line: -ScriptsForProject=“E:/PROJECTS/MYGAME/CHEECKEN SLAM/UREAL PROJ/V0.01/CHEECKEN_SLAM/CHEECKEN_SLAM.uproject” BuildCookRun -project=“E:/PROJECTS/MYGAME/CHEECKEN SLAM/UREAL PROJ/V0.01/CHEECKEN_SLAM/CHEECKEN_SLAM.uproject” -noP4 -clientconfig=Shipping -serverconfig=Shipping -nocompile -nocompileeditor -installed -unrealexe=G:\UNREAL\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -utf8output -platform=Android -cookflavor=Multi -build -cook -map=/Game/GAMEMODE/MENU/LVL_MENU+/Game/GAMEMODE/MENU/LVL_MENU -CookCultures=it -unversionedcookedcontent -stage -dep
loy -cmdline=“/Game/GAMEMODE/MENU/LVL_MENU -Messaging” -device=Android_Multi@61cf82f0 -addcmdline="-SessionId=E5D4FBAA456ED209B26EBDAB158D7114 -SessionOwner=‘TimeHowl’ -SessionName=‘Launch On Device’ " -run
LogPlayLevel: UAT: Initializing script modules…
LogPlayLevel: UAT: Total script module initialization time: 0.36 s.
LogPlayLevel: UAT: Executing commands…
LogPlayLevel: UAT: Setting up ProjectParams for E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\CHEECKEN_SLAM.uproject
LogPlayLevel: UAT: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Launch Task, Time: 6.284996
LogPlayLevel: UAT: Running: G:\UNREAL\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “G:\UNREAL\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” CHEECKEN_SLAM Android Shipping -Project=“E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\CHEECKEN_SLAM.uproject” -Manifest=“E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\Intermediate\Build\Manifest.xml” -remoteini=“E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM” -skipdeploy -log=“C:\Users\TimeHowl\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UNREAL+UE_5
.3\UBT-CHEECKEN_SLAM-Android-Shipping.txt”
LogPlayLevel: UAT: Log file: C:\Users\TimeHowl\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UNREAL+UE_5.3\UBT-CHEECKEN_SLAM-Android-Shipping.txt
LogPlayLevel: UAT: Creating makefile for CHEECKEN_SLAM (no existing makefile)
LogPlayLevel: UAT: Compiled assembly file ‘E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\Intermediate\Build\BuildRules\CHEECKEN_SLAMModuleRules.dll’ appears to be for a newer CLR version or is otherwise invalid. Unreal Build Tool will try to recompile this assembly now. (Exception: Could not load file or assembly ‘E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\Intermediate\Build\BuildRules\CHEECKEN_SLAMModuleRules.dll’. Format of the executable (.exe) or library (.dll) is invalid.)
LogPlayLevel: UAT: E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\Intermediate\Source\CHEECKEN_SLAM.Build.cs(9,32): error CS1501: No overload for method ‘Add’ takes 3 arguments
LogPlayLevel: UAT: E:\PROJECTS\MYGAME\CHEECKEN SLAM\UREAL PROJ\V0.01\CHEECKEN_SLAM\Intermediate\Source\CHEECKEN_SLAM.Build.cs(10,32): error CS1501: No overload for method ‘Add’ takes 3 arguments
LogPlayLevel: UAT: Total execution time: 3.67 seconds
LogPlayLevel: UAT: Expecting to find a type to be declared in a target rules named ‘CHEECKEN_SLAMTarget’. This type must derive from the ‘TargetRules’ type defined by Unreal Build Tool.
LogPlayLevel: UAT: Took 3,91s to run dotnet.exe, ExitCode=6
LogPlayLevel: UAT: UnrealBuildTool failed. See log for more details. (C:\Users\TimeHowl\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UNREAL+UE_5.3\UBT-CHEECKEN_SLAM-Android-Shipping.txt)
LogPlayLevel: UAT: AutomationTool executed for 0h 0m 9s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=6 (6)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 3.507183
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error

*resolved by deleting intermediate folder!