Android NDK – sigsegv invalid address (fault address: 0x10)

I have an application that call C++ library and it works fine. I need now to convert this app to an android library. After conversion, Calling System.loadLibrary("native-lib"); causes application crashing with this error SIGSEGV (signal SIGSEGV: invalid address (fault address: 0x10))

I converted it to a library by change plugin to’com.android.library’

Should I create an android library from scratch ?

LLDB Output
error: module importing failed: No module named renderers.jb_lldb_logging_manager
File "temp.py", line 1, in

error: ‘jb_renderers_set_diagnostics_level’ is not a valid command.
error: Unrecognized command ‘jb_renderers_set_diagnostics_level’.
error: module importing failed: No module named renderers.jb_lldb_declarative_formatters
File "temp.py", line 1, in

error: ‘jb_renderers_loaders_add’ is not a valid command.
error: Unrecognized command ‘jb_renderers_loaders_add’.

Source: Windows Questions C++

LEAVE A COMMENT