sdl2_frt/android-project/app/src/main
Sam Lantinga a0b3dcc26a Fixed bug 4002 - Android, nativeRunMain() fails on some phone with arm64-v8a
Sylvain

The issue is totally reproducible on P8 Lite.

"The dlopen() call doesn't include the app's native library directory. The behavior of  dlopen() by Android is not guaranteed".

Workaround in getMainSharedObject()

Just replace
    return library;
with
    return getContext().getApplicationInfo().nativeLibraryDir + "/" + library;
2018-09-05 15:54:46 -07:00
..
java/org/libsdl/app Fixed bug 4002 - Android, nativeRunMain() fails on some phone with arm64-v8a 2018-09-05 15:54:46 -07:00
res Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
AndroidManifest.xml Added Android hardware feature support to the default manifest 2018-06-06 09:42:12 -07:00