Hi!
I have the following problem: When I run a game packaged (development) on Android I have a crash on very start with the following exception:
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: pl.zompi.lmproj, PID: 12825
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy" referenced by "/data/app/pl.zompi.lmproj-1/lib/arm/libUE4.so"...
E AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
E AndroidRuntime: at com.epicgames.ue4.GameActivity.<clinit>(GameActivity.java:5472)
E AndroidRuntime: at java.lang.Class.newInstance(Native Method)
E AndroidRuntime: at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2317)
E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
W ActivityManager: Force finishing activity pl.zompi.lmproj/com.epicgames.ue4.GameActivity
W ActivityManager: Activity pause timeout for ActivityRecord{78cebce u0 pl.zompi.lmproj/com.epicgames.ue4.GameActivity t724 f}
I ActivityManager: Killing 11320:com.google.android.apps.fitness/u0a45 (adj 15): empty #17
D ActivityManager: cleanUpApplicationRecord -- 11320
W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@68d79de attribute=null, token = android.os.BinderProxy@4707fe5
I ActivityManager: Process pl.zompi.lmproj (pid 12825) has died
The game run on LG Nexus 5, Android 6.0.1
I have CodeWorks 1R7u1 installed. I was using the latest SDK and NDK:
The problem has been mitigated by changing the NDK version to android-19.
Now everything works fine, but still - why is the latest NDK (which should be used, according to other answers like here: Android packaging Error: resource android:attr/fontStyle not found - Platform & Builds - Unreal Engine Forums has no required symbols?
The similar problem has been here for quite a long time: Android project crashes on start up - Platform & Builds - Unreal Engine Forums
Do You know what could cause this issue? I’d like to use the newest versions of NDK possible.