Hi, I’m trying to build my UE4.27 project for Android and am hitting some errors which I’m unsure how to debug.
I’ve run through the setup steps for Android SKD/NDK etc. and successfully ran the AndroidSetup.bat file.
The engine begins the build and then promptly fails with some odd errors which Google has proven ineffective against.
The output log is as follows (removed a heap of idential/similar errors to fit the character limit):
LogPlayLevel: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1.006978
LogPlayLevel: Running: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe PointCloudTest Android Development -Project=C:\UnrealEngine\UE4\PointCloudTest_YT\PointCloudTest.uproject C:\UnrealEngine\UE4\PointCloudTest_YT\PointCloudTest.uproject -NoUBTMakefiles -remoteini="C:\UnrealEngine\UE4\PointCloudTest_YT" -skipdeploy -ini:Game
:[/Script/UnrealEd.ProjectPackagingSettings]:BlueprintNativizationMethod=Disabled -Manifest=C:\UnrealEngine\UE4\PointCloudTest_YT\Intermediate\Build\Manifest.xml -NoHotReload -log="C:\Users\thoma\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-PointCloudTest-Android-Development.txt"
LogPlayLevel: Using 'git status' to determine working set for adaptive non-unity build (C:\UnrealEngine\UE4\PointCloudTest_YT).
LogPlayLevel: PLATFORM_ANDROID_NDK_VERSION = 210500
LogPlayLevel: NDK toolchain: r21e, NDK version: 21, GccVersion: 4.9, ClangVersion: 9.0.9
LogPlayLevel: Parsing headers for PointCloudTest
LogPlayLevel: Running UnrealHeaderTool "C:\UnrealEngine\UE4\PointCloudTest_YT\PointCloudTest.uproject" "C:\UnrealEngine\UE4\PointCloudTest_YT\Intermediate\Build\Android\PointCloudTest\Development\PointCloudTest.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\thoma\AppData\Roaming
\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UHT-PointCloudTest-Android-Development.txt" -installed
LogPlayLevel: LogInit: Display: Loading text-based GConfig....
LogPlayLevel: Reflection code generated for PointCloudTest in 6.3003372 seconds
LogPlayLevel: Compiling Native 32-bit code with NDK API 'android-21'
LogPlayLevel: Writing manifest to C:\UnrealEngine\UE4\PointCloudTest_YT\Intermediate\Build\Manifest.xml
LogPlayLevel: Building PointCloudTest...
LogPlayLevel: Building 20 actions with 16 processes...
LogPlayLevel: [1/20] SharedPCH.Engine.ShadowErrors.h [armv7]
LogPlayLevel: [2/20] PointCloudTCPSource.gen.cpp [armv7]
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: In file included from C:/Program Files/Java/jdk1.8.0_251/include\jni.h:45:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(34,9): error: unknown type name '__int64'
LogPlayLevel: typedef __int64 jlong;
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(220,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jint (JNICALL *GetVersion)(JNIEnv *env);
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(222,13): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jclass (JNICALL *DefineClass)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(225,13): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jclass (JNICALL *FindClass)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(228,16): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jmethodID (JNICALL *FromReflectedMethod)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(230,15): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jfieldID (JNICALL *FromReflectedField)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudTCPSource.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
...
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(244,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jint (JNICALL *Throw)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(246,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jint (JNICALL *ThrowNew)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(248,17): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jthrowable (JNICALL *ExceptionOccurred)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(250,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: void (JNICALL *ExceptionDescribe)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(252,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: void (JNICALL *ExceptionClear)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(254,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: void (JNICALL *FatalError)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(257,11): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jint (JNICALL *PushLocalFrame)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(259,14): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jobject (JNICALL *PopLocalFrame)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Intermediate/Build/Android/UE4/Inc/PointCloudTest/PointCloudRenderer.gen.cpp:8:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudRenderer.h:7:
LogPlayLevel: In file included from C:/UnrealEngine/UE4/PointCloudTest_YT/Source\PointCloudTest/PointCloudTCPSource.h:8:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Networking/Public\Networking.h:16:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Core.h:56:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/PlatformFile.h:7:
LogPlayLevel: In file included from C:/Program Files/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public\Android/AndroidPlatformFile.h:11:
LogPlayLevel: Error: C:/Program Files/Java/jdk1.8.0_251/include\jni.h(262,14): error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
LogPlayLevel: jobject (JNICALL *NewGlobalRef)
LogPlayLevel: ^
LogPlayLevel: C:/Program Files/Java/jdk1.8.0_251/include/win32\jni_md.h(31,17): note: expanded from macro 'JNICALL'
LogPlayLevel: #define JNICALL __stdcall
LogPlayLevel: ^
LogPlayLevel: Error: fatal error: too many errors emitted, stopping now [-ferror-limit=]
LogPlayLevel: 20 errors generated.
LogPlayLevel: Took 3.3016675s to run UnrealBuildTool.exe, ExitCode=6
LogPlayLevel: UnrealBuildTool failed. See log for more details. (C:\Users\thoma\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-PointCloudTest-Android-Development.txt)
LogPlayLevel: AutomationTool exiting with ExitCode=6 (6)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 2.761126
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
.....
UATHelper: Packaging (Android (ETC2)): fatal error: too many errors emitted, stopping now [-ferror-limit=]
UATHelper: Packaging (Android (ETC2)): 20 errors generated.
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: '__stdcall' calling convention ignored for this target [-Werror,-Wignored-attributes]
PackagingResults: Error: too many errors emitted, stopping now [-ferror-limit=]
UATHelper: Packaging (Android (ETC2)): Took 3.7849958s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool failed. See log for more details. (C:\Users\thoma\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-PointCloudTest-Android-Development.txt)
UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error
Really unsure where to start with this - my first time building for Android in quite a long time, but don’t remember it being at all a challenging process.
Thanks for any advice anyone can offer!