I am having problem packaging project for android . some linker error, I have attached the log please take a look .
- List item
Log -
LogTurnkeySupport: Display: Adding device menu item for SAAWASATI_PC
LogSlate: Window 'SDK Not Setup' being destroyed
LogUObjectHash: Compacting FUObjectHashTables data took 0.34ms
LogTurnkeySupport: Selected target: GemSmash
LogLauncherProfile: Unable to use promoted target - E:/hyn/work/workspaces/GemSmash 5.0/Binaries/Android/GemSmash-Android-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""D:/UE5/UE_5.0/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="E:/hyn/work/workspaces/GemSmash 5.0/GemSmash.uproject" Turnkey -command=VerifySdk -platform=Android -UpdateIfNeeded -EditorIO -EditorIOPort=50687 -project="E:/hyn/work/workspaces/GemSmash 5.0/GemSmash.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="E:/hyn/work/workspaces/GemSmash 5.0/GemSmash.uproject" -target=GemSmash -unrealexe="D:\UE5\UE_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Android -cookflavor=AS
TC -SkipCookingEditorContent -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -build -compressed -pak -prereqs -applocaldirectory="$(EngineDir)/Binaries/ThirdParty/AppLocalDependencies" -archivedirectory="E:/hyn/work/workspaces/GemSmash 5.0/Build/13" -distribution -manifests -clientconfig=Shipping -nodebuginfo" -nocompile ]
LogAutomationController: Ignoring very large delta of 2.77 seconds in calls to FAutomationControllerManager::Tick() and not penalizing unresponsive tests
UATHelper: Packaging (Android (ASTC)): Running AutomationTool...
UATHelper: Packaging (Android (ASTC)): Parsing command line: -ScriptsForProject="E:/hyn/work/workspaces/GemSmash 5.0/GemSmash.uproject" Turnkey -command=VerifySdk -platform=Android -UpdateIfNeeded -EditorIO -EditorIOPort=50687 -project="E:/hyn/work/workspaces/GemSmash 5.0/GemSmash.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="E:/hyn/work/workspaces/GemSmash 5.0/GemSmash.uproject" -target=GemSmash -unrealexe=D:\UE5\UE_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Android -cookflavor=ASTC -SkipCookingEditorContent -ddc=InstalledDerivedDataB
ackendGraph -installed -stage -archive -package -build -compressed -pak -prereqs -applocaldirectory=$(EngineDir)/Binaries/ThirdParty/AppLocalDependencies -archivedirectory="E:/hyn/work/workspaces/GemSmash 5.0/Build/13" -distribution -manifests -clientconfig=Shipping -nodebuginfo -nocompile
UATHelper: Packaging (Android (ASTC)): Log location: C:\Users\Saawasati\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\Log.txt
UATHelper: Packaging (Android (ASTC)): Installed Sdk validity:
UATHelper: Packaging (Android (ASTC)): Android: (Status=Valid, Installed=r21b, AutoSDK=, MinAllowed=r21a, MaxAllowed=r23a, Flags="InstalledSdk_ValidVersionExists")
UATHelper: Packaging (Android (ASTC)): Scanning for envvar changes...
UATHelper: Packaging (Android (ASTC)): ... done!
UATHelper: Packaging (Android (ASTC)): Cleaning Temp Paths...
UATHelper: Packaging (Android (ASTC)): BUILD SUCCESSFUL
UATHelper: Packaging (Android (ASTC)): Setting up ProjectParams for E:\hyn\work\workspaces\GemSmash 5.0\GemSmash.uproject
UATHelper: Packaging (Android (ASTC)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Android (ASTC)): Running: D:\UE5\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe GemSmash Android Shipping -Project="E:\hyn\work\workspaces\GemSmash 5.0\GemSmash.uproject" "E:\hyn\work\workspaces\GemSmash 5.0\GemSmash.uproject" -NoUBTMakefiles -remoteini="E:\hyn\work\workspaces\GemSmash 5.0" -skipdeploy -distribution -Manifest="E:\hyn\work\workspaces\GemSmash 5.0\Intermediate\Build\Manifest.xml" -NoHotReload -log="C:\Users\Saawasati\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\UBT-GemSmash-Android-Shipping.txt"
UATHelper: Packaging (Android (ASTC)): Log file: C:\Users\Saawasati\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\UBT-GemSmash-Android-Shipping.txt
UATHelper: Packaging (Android (ASTC)): WARNING: Please install source to build for x86_64 (-x64); ignoring this architecture target.
PackagingResults: Warning: Please install source to build for x86_64 (-x64); ignoring this architecture target.
UATHelper: Packaging (Android (ASTC)): NDK toolchain: r21b, NDK version: 210200, ClangVersion: 9.0.8
UATHelper: Packaging (Android (ASTC)): Compiling Native 64-bit code with NDK API 'android-21'
UATHelper: Packaging (Android (ASTC)): Writing manifest to E:\hyn\work\workspaces\GemSmash 5.0\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Android (ASTC)): Building GemSmash...
UATHelper: Packaging (Android (ASTC)): [Adaptive Build] Excluded from GemSmash unity file: GemSmash.cpp, GemSmashData.cpp, GemSmasheSaveGame.cpp, GemSmashPawn.cpp, GemSmashPlayerController.cpp, GemSmashrGameModeBase.cpp, GSGameInstance.cpp, SSSkySphere.cpp, StoneSpawnFactory.cpp
UATHelper: Packaging (Android (ASTC)): Determining max actions to execute in parallel (6 physical cores, 6 logical cores)
UATHelper: Packaging (Android (ASTC)): Executing up to 6 processes, one per physical core
UATHelper: Packaging (Android (ASTC)): Requested 1.5 GB free memory per action, 7.97 GB available: limiting max parallel actions to 5
UATHelper: Packaging (Android (ASTC)): Building 2 actions with 2 processes...
UATHelper: Packaging (Android (ASTC)): [1/2] clang++ GemSmash-Android-Shipping-arm64.so
UATHelper: Packaging (Android (ASTC)): C:/Users/Saawasati/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: unrecognized option '--icf=all'
UATHelper: Packaging (Android (ASTC)): C:/Users/Saawasati/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: use the --help option for usage information
UATHelper: Packaging (Android (ASTC)): clang++: error: linker command failed with exit code 1 (use -v to see invocation)
PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)
UATHelper: Packaging (Android (ASTC)): Took 1.5114329s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details. (C:\Users\Saawasati\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\UBT-GemSmash-Android-Shipping.txt)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 3s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error