I have compilation error for Android

I am trying to compile the game code only for Android platform, I have updated SDK and NDK to the latest versions.

I ran commands

  1. lmbr_waf configure

it was ok. Then

  1. lmbr_waf build_android_armv7_clang_debug -p game

after it I saw the error output.

console output:

[WAF] Engine Root: C:\Amazon\Lumberyard\1.18.0.0\dev\

A custom BuildEnv.json file was not found. This build will be untagged.
A custom BuildEnv.json file was not found. This build will be untagged.
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp:13:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetInternal/LegacyBlockingAssetTypeManager.h:15:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetCommon.h:14:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/EBus.h:25:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/BusImpl.h:27:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/parallel/scoped_lock.h:16:
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:428:5: error: ‘tuple_size’ defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags]
tuple_size_element_pair_class_or_struct tuple_size<AZStd::pair<T1, T2>> : public AZStd::integral_constant<size_t, 2> {};
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:420:49: note: expanded from macro ‘tuple_size_element_pair_class_or_struct’
#define tuple_size_element_pair_class_or_struct class
^
C:/Users/Alexander/AppData/Local/Android/Sdk/ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin/…/sysroot/usr/include/c++/v1__tuple:25:22: note: did you mean class here?
template struct _LIBCPP_TEMPLATE_VIS tuple_size;
^
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp:13:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetInternal/LegacyBlockingAssetTypeManager.h:15:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetCommon.h:14:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/EBus.h:25:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/BusImpl.h:27:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/parallel/scoped_lock.h:16:
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:445:5: error: ‘tuple_size’ defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags]
tuple_size_element_pair_class_or_struct tuple_size<AZStd::array<T, N>> : public AZStd::integral_constant<size_t, N> {};
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:420:49: note: expanded from macro ‘tuple_size_element_pair_class_or_struct’
#define tuple_size_element_pair_class_or_struct class
^
C:/Users/Alexander/AppData/Local/Android/Sdk/ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin/…/sysroot/usr/include/c++/v1__tuple:25:22: note: did you mean class here?
template struct _LIBCPP_TEMPLATE_VIS tuple_size;
^
2 errors generated.

error output:

default_settings: using option bootstrap_tool_param: "--enablecapability compileandroid --enablecapability compileengine --enablecapability compilegame --enablecapability runeditor --enablecapability rungame --enablecapability vc141 --enablecapability windows" from _WAF_/user_settings.options (default: "")

default_settings: using option msvs_version: “15” from WAF/user_settings.options (default: “14”)
default_settings: using option enabled_game_projects: “SamplesProject” from WAF/user_settings.options (default: “StarterGame,CloudGemSamples”)
default_settings: using option win_vs2017_vswhere_args: “-version [15.7.27703.2035,15.9.28307.999]” from WAF/user_settings.options (default: “-version [15.7.27703.2035,15.9.28307.423]”)
default_settings: using option win_vs2017_winkit: “10.0.17763.0” from WAF/user_settings.options (default: “”)
default_settings: using option win_vs2015_winkit: “10.0.17763.0” from WAF/user_settings.options (default: “”)
[WAF] Executing ‘build_android_armv7_clang_debug’ in ‘c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug’
default_settings: using option bootstrap_tool_param: “–enablecapability compileandroid --enablecapability compileengine --enablecapability compilegame --enablecapability runeditor --enablecapability rungame --enablecapability vc141 --enablecapability windows” from WAF/user_settings.options (default: “”)
default_settings: using option msvs_version: “15” from WAF/user_settings.options (default: “14”)
default_settings: using option enabled_game_projects: “SamplesProject” from WAF/user_settings.options (default: “StarterGame,CloudGemSamples”)
default_settings: using option win_vs2017_vswhere_args: “-version [15.7.27703.2035,15.9.28307.999]” from WAF/user_settings.options (default: “-version [15.7.27703.2035,15.9.28307.423]”)
default_settings: using option win_vs2017_winkit: “10.0.17763.0” from WAF/user_settings.options (default: “”)
default_settings: using option win_vs2015_winkit: “10.0.17763.0” from WAF/user_settings.options (default: “”)
[WARNING] Incredibuild disabled by build option
[ 31/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Asset\AssetCommon.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetCommon.cpp.4454579.o
[ 32/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp.4454579.o
[ 33/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Asset\AssetManager.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetManager.cpp.4454579.o
[ 34/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Asset\AssetManagerComponent.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetManagerComponent.cpp.4454579.o
[ 35/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Asset\AssetSerializer.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetSerializer.cpp.4454579.o
[ 36/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\AzCoreModule.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\AzCoreModule.cpp.4454579.o
[ 37/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Component\Component.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Component\Component.cpp.4454579.o
[ 39/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Component\ComponentApplication.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Component\ComponentApplication.cpp.4454579.o
[ 39/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Component\ComponentBus.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Component\ComponentBus.cpp.4454579.o
[ 40/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Component\Entity.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Component\Entity.cpp.4454579.o
[ 41/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Component\EntityUtils.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Component\EntityUtils.cpp.4454579.o
[ 43/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Debug\EventTrace.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Debug\EventTrace.cpp.4454579.o
[ 44/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Debug\EventTraceDriller.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Debug\EventTraceDriller.cpp.4454579.o
[ 45/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Debug\FrameProfilerComponent.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Debug\FrameProfilerComponent.cpp.4454579.o
[ 46/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Debug\ProfileModuleInit.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Debug\ProfileModuleInit.cpp.4454579.o
[ 47/2108] cxx (android_armv7_clang|debug): Code\Framework\AzCore\AzCore\Debug\Profiler.cpp -> BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Debug\Profiler.cpp.4454579.o
Build failed
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: ‘LegacyBlockingAssetTypeManager.cpp.4454579.o’, Module: ‘AzCore’, Configuration: ‘android_armv7_clang|debug’, error code 1
Input Files: ‘c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp’
Output Files: ‘c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp.4454579.o’
Command: ‘C:/Users/Alexander/AppData/Local/Android/Sdk/ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7a-none-linux-androideabi21 -gdwarf-2 -mfloat-abi=softfp -mfpu=neon -mthumb -fpic -Wall -Werror -Wno-unknown-warning-option -Wno-#pragma-messages -Wno-absolute-value -Wno-dynamic-class-memaccess -Wno-format-security -Wno-inconsistent-missing-override -Wno-invalid-offsetof -Wno-multichar -Wno-parentheses -Wno-reorder -Wno-self-assign -Wno-switch -Wno-tautological-compare -Wno-undefined-var-template -Wno-unknown-pragmas -Wno-unused-function -Wno-unused-private-field -Wno-unused-value -Wno-unused-variable -Wno-non-pod-varargs -Wno-unused-lambda-capture -Wno-nonportable-include-path -ffast-math -fvisibility=hidden -fvisibility-inlines-hidden -std=c++1y -fno-rtti -fno-exceptions -O0 -g -fno-inline -fstack-protector -femulated-tls -fms-extensions -stdlib=libc++ -H -Ic:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore -Ic:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore -IC:\Amazon\Lumberyard\1.18.0.0\3rdParty\boost\1.61.0-az.2 -Ic:\Amazon\Lumberyard\1.18.0.0\dev\Code\CryEngine\CryCommon -Ic:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Code\Framework\AzCore -Ic:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore -IC:\Amazon\Lumberyard\1.18.0.0\3rdParty\rapidjson\rapidjson-1.0.2.1\include -IC:\Amazon\Lumberyard\1.18.0.0\3rdParty\rapidxml\1.13-modified.1\include -IC:\Amazon\Lumberyard\1.18.0.0\3rdParty\Lua\5.1.1.8-az -IC:\Amazon\Lumberyard\1.18.0.0\3rdParty\zlib\1.2.8-pkg.2\include -DCODE_BASE_FOLDER=“c:/Amazon/Lumberyard/1.18.0.0/dev/Code/” -D_DEBUG -D_LINUX -DLINUX -DANDROID -DMOBILE -D_HAS_C9X -DENABLE_TYPE_INFO -DNDK_REV_MAJOR=20 -DNDK_REV_MINOR=0 -DLINUX32 -D__ARM_NEON__ -DEXE_VERSION_INFO_0=1 -DEXE_VERSION_INFO_1=18 -DEXE_VERSION_INFO_2=0 -DEXE_VERSION_INFO_3=0 -DBINFOLDER_NAME=“BinAndroidArmv7Clang.Debug” -DPLATFORM_SUPPORTS_AWS_NATIVE_SDK -DLY_BUILD=866460 -D_MT -D_DLL -DAZ_DEBUG_BUILD -DLY_METRICS_BUILD_TIME=0 c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp -c -o c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp.4454579.o’
Output:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp:13:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetInternal/LegacyBlockingAssetTypeManager.h:15:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetCommon.h:14:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/EBus.h:25:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/BusImpl.h:27:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/parallel/scoped_lock.h:16:
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:428:5: error: ‘tuple_size’ defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags]
tuple_size_element_pair_class_or_struct tuple_size<AZStd::pair<T1, T2>> : public AZStd::integral_constant<size_t, 2> {};
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:420:49: note: expanded from macro ‘tuple_size_element_pair_class_or_struct’
#define tuple_size_element_pair_class_or_struct class
^
C:/Users/Alexander/AppData/Local/Android/Sdk/ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin/…/sysroot/usr/include/c++/v1__tuple:25:22: note: did you mean class here?
template struct _LIBCPP_TEMPLATE_VIS tuple_size;
^
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore\Asset\AssetInternal\LegacyBlockingAssetTypeManager.cpp:13:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetInternal/LegacyBlockingAssetTypeManager.h:15:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetCommon.h:14:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/EBus.h:25:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/EBus/BusImpl.h:27:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/parallel/scoped_lock.h:16:
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:445:5: error: ‘tuple_size’ defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags]
tuple_size_element_pair_class_or_struct tuple_size<AZStd::array<T, N>> : public AZStd::integral_constant<size_t, N> {};
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/std/tuple.h:420:49: note: expanded from macro ‘tuple_size_element_pair_class_or_struct’
#define tuple_size_element_pair_class_or_struct class
^
C:/Users/Alexander/AppData/Local/Android/Sdk/ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin/…/sysroot/usr/include/c++/v1__tuple:25:22: note: did you mean class here?
template struct _LIBCPP_TEMPLATE_VIS tuple_size;
^
2 errors generated.
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

one more error

    [WAF] Engine Root: C:\Amazon\Lumberyard\1.18.0.0\dev\

A custom BuildEnv.json file was not found. This build will be untagged.
A custom BuildEnv.json file was not found. This build will be untagged.
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Source\InputConfigurationComponent.cpp:13:
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Source/InputConfigurationComponent.h:19:
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Include/InputManagementFramework/InputEventBindings.h:112:9: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
InputEventBindingsAsset(const InputEventBindingsAsset&) = default;
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Include/InputManagementFramework/InputEventBindings.h:83:11: note: copy constructor of ‘InputEventBindingsAsset’ is implicitly deleted because base class ‘AZ::Data::AssetData’ has a deleted copy constructor
: public AZ::Data::AssetData
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetCommon.h:152:13: note: ‘AssetData’ has been explicitly marked deleted here
AssetData(const AssetData&) = delete;
^
1 error generated.
In file included from c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Source\InputManagementFrameworkGem.cpp:30:
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Include\InputManagementFramework/InputEventBindings.h:112:9: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
InputEventBindingsAsset(const InputEventBindingsAsset&) = default;
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\InputManagementFramework\Code\Include\InputManagementFramework/InputEventBindings.h:83:11: note: copy constructor of ‘InputEventBindingsAsset’ is implicitly deleted because base class ‘AZ::Data::AssetData’ has a deleted copy constructor
: public AZ::Data::AssetData
^
c:\Amazon\Lumberyard\1.18.0.0\dev\Code\Framework\AzCore\AzCore/Asset/AssetCommon.h:152:13: note: ‘AssetData’ has been explicitly marked deleted here
AssetData(const AssetData&) = delete;
^
1 error generated.

and as final output I have linking issue

[2032/2108] strip_debug_symbols (android_armv7_clang|debug): BinAndroidArmv7Clang.Debug\libGem.LightningArc.4c28210b23544635aa15be668dbff15d.v1.0.0.so -> BinTemp\android_armv7_clang_debug\Solutions\LumberyardAndroidSDK\SamplesProjectLauncher\builder\lib\armeabi-v7a\libGem.Lightning
Arc.4c28210b23544635aa15be668dbff15d.v1.0.0.so
[2033/2108] strip_debug_symbols (android_armv7_clang|debug): BinAndroidArmv7Clang.Debug\libSamplesProjectLauncher.so -> BinTemp\android_armv7_clang_debug\Solutions\LumberyardAndroidSDK\SamplesProjectLauncher\builder\lib\armeabi-v7a\libSamplesProjectLauncher.so
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\EMotionFX\Code\EMotionFX\Source/AnimGraphObjectFactory.cpp:166: error: undefined reference to ‘EMotionFX::BlendTreeMotionFrameNode::Reflect(AZ::ReflectContext*)’
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\EMotionFX\Code\EMotionFX\Source\Importer/LegacyAnimGraphNodeParser.cpp:4353: error: undefined reference to ‘EMotionFX::BlendTreeMotionFrameNode::SetNormalizedTimeValue(float)’
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\EMotionFX\Code\EMotionFX\Source\Importer/LegacyAnimGraphNodeParser.h:122: error: undefined reference to ‘EMotionFX::BlendTreeMotionFrameNode::operator new(unsigned int, AZ::Internal::AllocatorDummy const*)’
c:\Amazon\Lumberyard\1.18.0.0\dev\Gems\EMotionFX\Code\EMotionFX\Source\Importer/LegacyAnimGraphNodeParser.h:122: error: undefined reference to ‘EMotionFX::BlendTreeMotionFrameNode::BlendTreeMotionFrameNode()’
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Build failed
-> task in ‘cxxshlib (android_armv7_clang|debug)’ failed (exit status 1):
{task 123856936L: cxxshlib EMotionFX_precompiled.cpp.3335456.o,AnimationModule.cpp.3335456.o,PipelineComponent.cpp.3335456.o,SystemComponent.cpp.3335456.o -> libGem.EMotionFX.044a63ea67d04479aa5daf62ded9d9ca.v0.1.0.so}
‘C:/Users/Alexander/AppData/Local/Android/Sdk/ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe -o c:\Amazon\Lumberyard\1.18.0.0\dev\BinAndroidArmv7Clang.Debug\libGem.EMotionFX.044a63ea67d04479aa5daf62ded9d9ca.v0.1.0.so --target=armv7a-none-linux-androi
deabi21 -rdynamic -Wl,–no-undefined -Wl,–gc-sections -Wl,–build-id -Wl,–fix-cortex-a8 -Wl,–icf=safe -stdlib=libc++ -shared -Wl,-soname,libGem.EMotionFX.044a63ea67d04479aa5daf62ded9d9ca.v0.1.0.so c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Gems\E
MotionFX\Code\Source\EMotionFX_precompiled.cpp.3335456.o c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Gems\EMotionFX\Code\Source\Integration\System\AnimationModule.cpp.3335456.o c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_cla
ng_debug\Gems\EMotionFX\Code\Source\Integration\System\PipelineComponent.cpp.3335456.o c:\Amazon\Lumberyard\1.18.0.0\dev\BinTemp\android_armv7_clang_debug\Gems\EMotionFX\Code\Source\Integration\System\SystemComponent.cpp.3335456.o -Wl,-Bstatic -LGems\EMotionFX
\Code -LCode\Framework\AzFramework\AzFramework -LCode\Framework\GridMate -LCode\Framework\GridMateForTools -LGems\CryLegacy\Code -LCode\Framework\AzCore\AzCore -LCode\Launcher\AndroidLauncher -LC:\Amazon\Lumberyard\1.18.0.0\3rdParty\Lua\5.1.1.8-az\build\win_x6
4\android_ndk_r12\android-19\armeabi-v7a\clang-3.8\debug -LC:\Amazon\Lumberyard\1.18.0.0\3rdParty\zlib\1.2.8-pkg.2\build\win_x64\android_ndk_r12\android-19\armeabi-v7a\clang-3.8\debug -lEMotionFXStaticLib -lAzFramework -lGridMate -lGridMateForTools -lCryAction_Aut
oFlowNode -lAzCore -lNativeActivityGlue -llua -lzlib -Wl,-Bdynamic -Lc:\Amazon\Lumberyard\1.18.0.0\dev\Code -landroid -lc -llog -ldl’

I had this same issue. What fixed it for me was to install an older version of the NDK (r19c) instead of the latest (r20).

1 Like