android - SDL build system - When I link against `gnustl_shared` I get "Error: Cannot load library: ..." at runtime -


i'm trying compile c++ application android. use project android ndk comes sdl library.

when use app_stl := gnustl_static compiles , runs fine, need gnustl_shared because project uses multiple .so files. app_stl := gnustl_shared gives me following runtime error @ emulator:

enter image description here

i followed advice similar post , added

static {system.loadlibrary("gnustl_shared");} 

to end of sdlactivity.java : class sdlmain, had no visible effect.

if matters, libgnustl_shared.so in libs/*/ directories.

what need fix gnustl_shared?

yeah, solved.

protected string[] getlibraries() {     return new string[] {         "gnustl_shared", // i've added line         "sdl2",         "main"     }; } 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -