Unreal 4.21.2 & Android API Level 28 causes "ld: error: cannot find -lGLESv2"

anonymous_user_e5fd97cf
Sun, 08 Sep 2019 21:59:33 +0000
Mobile

Setting Android NDK and SDK levels both to android-28 appears to break NDK compiling with NDK=C:/NVPACK/android-ndk-r14b

The errors appear to be compiler/linker switch related… Can’t deploy to Google Play Store without this working.

UATHelper: Packaging (Android (ETC2)):     [10/10] TitanOne-Android-Shipping-armv7-es2.so

UATHelper: Packaging (Android (ETC2)):     C:/NVPACK/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lGLESv2

UATHelper: Packaging (Android (ETC2)):     C:/NVPACK/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lEGL
UATHelper: Packaging (Android (ETC2)):     C:/NVPACK/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot find -landroid
UATHelper: Packaging (Android (ETC2)):     C:/NVPACK/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lOpenSLES

1 post - 1 participant