# Ld.lld: error (libgamesdk.a(swappyGL\_c.cpp.o) is incompatible with armelf\_linux\_eabi)

**URL:** <https://forums.unrealengine.com/t/ld-lld-error-libgamesdk-a-swappygl-c-cpp-o-is-incompatible-with-armelf-linux-eabi/270417>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, UE4-27, question\
**Created:** [January 5, 2022, 9:04pm UTC](https://forums.unrealengine.com/t/ld-lld-error-libgamesdk-a-swappygl-c-cpp-o-is-incompatible-with-armelf-linux-eabi/270417 "2022-01-05T21:04:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AngelisDead](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/angelisdead/32/954203_2.png) [@AngelisDead](https://forums.unrealengine.com/u/AngelisDead)\
**Post date:** [January 5, 2022, 9:04pm UTC](https://forums.unrealengine.com/t/ld-lld-error-libgamesdk-a-swappygl-c-cpp-o-is-incompatible-with-armelf-linux-eabi/270417/1 "2022-01-05T21:04:16Z")

</div>

Hello, When I want to test for android ActionRPG (mini project by epic games), I get the error in the screenshot. I have correctly set SDK, NDK, JRE, JDK settings  
I looked at other answers on the forum but didn’t find a solution.

NDK toolchain: r21e, NDK version: 21, GccVersion: 4.9, ClangVersion: 9.0.9  
UATHelper: Packaging (Android (ETC2)): Compiling Native 32-bit code with NDK API ‘android-21’  
UATHelper: Packaging (Android (ETC2)): Compiling Native 64-bit code with NDK API ‘android-21’

 ![ScreenShot](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/6/66a3c1975a8bd25a0c9172ce68292ea3d9bd5a1c.png)

Thank you

---

<div class="post-metadata">

**Author:** ![AngelisDead](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/angelisdead/32/954203_2.png) [@AngelisDead](https://forums.unrealengine.com/u/AngelisDead)\
**Post date:** [January 21, 2022, 11:14pm UTC](https://forums.unrealengine.com/t/ld-lld-error-libgamesdk-a-swappygl-c-cpp-o-is-incompatible-with-armelf-linux-eabi/270417/3 "2022-01-21T23:14:30Z")

</div>

I installed jdk 8x version. It worked.  
My exporting not working on 17x versions.

Update: for arm7v build Settings - Project Settings → Platforms - Android - Advanced Build - “Force linking to use ld instead of lld” enable this and in build section, enable “Support armv7” disable “Support arm64”.

**Update with another note: if you’re using blueprint nativization you could get same error. You should fix errors or → project settings → Project → Packing → disable blueprint nativization method**

---

<div class="post-metadata">

**Author:** ![Tyksodeveloper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tyksodeveloper](https://forums.unrealengine.com/u/Tyksodeveloper)\
**Post date:** [August 14, 2023, 5:52pm UTC](https://forums.unrealengine.com/t/ld-lld-error-libgamesdk-a-swappygl-c-cpp-o-is-incompatible-with-armelf-linux-eabi/270417/4 "2023-08-14T17:52:12Z")

</div>

thank you
