Google Play Store now requires its APKs to support at least Android API L28 in order to be uploaded.
I’m building an Unreal 4.21.2 project and it fails to build when configured for API Level 28 and the minimum NDK for that level (NDK R18). NDK R20 also failed with the same error.
I get these build errors. is there any workaround? We can’t upload to the Google Play Store until this is resolved.
UATHelper: Packaging (Android (ETC2)): In file included from C:/Program Files/Epic Games/UE_4.21/Engine/Source/Runtime/Core/Public\GenericPlatform/GenericPlatformMisc.h:7: UATHelper: Packaging (Android (ETC2)): C:/Program Files/Epic Games/UE_4.21/Engine/Source/Runtime/Core/Public\HAL/PlatformCrt.h(5,10): fatal error: 'new' file not found UATHelper: Packaging (Android (ETC2)):
#include <new> UATHelper: Packaging (Android (ETC2)): ^~~~~ UATHelper: Packaging (Android (ETC2)): 1 error generated. UATHelper: Packaging (Android (ETC2)): ERROR: UBT ERROR: Failed to produce item: C:\titan\proj-titan-p4\Unreal\TitanOne\Binaries\Android\TitanOne-Android-Shipping-arm64-es2.s