mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-14 12:28:38 +08:00
a0b3dcc26a
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;