SDL/android-project
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
..
app Fixed bug 4002 - Android, nativeRunMain() fails on some phone with arm64-v8a 2018-09-05 15:54:46 -07:00
gradle/wrapper Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
build.gradle Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
gradle.properties Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
gradlew Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
gradlew.bat Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
settings.gradle Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00