Game crashes on launch on Android 6 devices

I encountered a very frustrating issue while trying to deploy my project for Android.
On some devices, namely those running Android 6, the game instantly crashes on launch. It doesn’t even make it to the loading screen. It just says “Unfortunately, Game Name has stopped.”. This happens both when launching the game on my device through the editor and when running the Play Store version.

The game runs fine on a coworker’s phone using Android 8 and on Google Play test devices running Android 7, Android 8, and Android 9.

I was previously able to launch the game on my primary test device (OnePlus X running Android 6.0.1) but at one point, it stopped working. I’m not quite sure when it was but I believe it happened after I set the platform files to writable to package the APK.

This is the error message I see in the log for multiple devices:

FATAL EXCEPTION: main
Process: com.FrischMedia.SammyRun, PID: 11938
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy" referenced by "/data/app/com.FrischMedia.SammyRun-1/lib/arm/libUE4.so"...
	at java.lang.Runtime.loadLibrary(Runtime.java:372)
	at java.lang.System.loadLibrary(System.java:1076)
	at com.epicgames.ue4.GameActivity.<clinit>(Unknown Source)
	at java.lang.Class.newInstance(Native Method)
	at android.app.Instrumentation.newActivity(Instrumentation.java:1090)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2330)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2493)
	at android.app.ActivityThread.-wrap11(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5459)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

And on one phone (LG K3 2017), I also see this error:

FATAL EXCEPTION: pool-2-thread-1
Process: com.android.vending, PID: 21678
java.lang.OutOfMemoryError: Failed to allocate a 38 byte allocation with 3472 free bytes and 3KB until OOM
	at java.lang.StringFactory.newStringFromChars(Native Method)
	at java.lang.IntegralToString.convertInt(IntegralToString.java:246)
	at java.lang.IntegralToString.intToString(IntegralToString.java:166)
	at java.lang.Integer.toString(Integer.java:487)
	at java.lang.Integer.toString(Integer.java:474)
	at com.android.internal.util.XmlUtils.writeValueXml(XmlUtils.java:717)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:300)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:269)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:235)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:192)
	at android.app.SharedPreferencesImpl.writeToFile(SharedPreferencesImpl.java:600)
	at android.app.SharedPreferencesImpl.access$800(SharedPreferencesImpl.java:52)
	at android.app.SharedPreferencesImpl$2.run(SharedPreferencesImpl.java:515)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at java.lang.Thread.run(Thread.java:818)

Now I searched around about this issue a lot and found that most users managed to fix this by setting their NDK API level to android-19 but that didn’t do the trick for me.

Here are screenshots of my Android settings:

I am using Unreal Engine 4.21.2 on a 2015 iMac running macOS High Sierra 10.13.6 and this is a BP project.

It’s the first time I’m creating a project for Android so I’m sure it’s some issue with my settings. Any help would be appreciated!

Hey!

Did you find any solution?
My game is crashing on all Android 6 devices, based on Google’s pre-launch tests.

Setting the NDK level to “android-19” didn’t help me either. I’m using the same NDK (r14b), same version of ANT and jdk1.8.0_77 on Windows 10.