Hi there,
Let me explain our situation… We have a cpp layer in our application which we are trying to get SQLCipher working for. The cpp layer in compiled with the NDK and loaded as a .so library. We have added libsqlcipher_android.so as a dependency for the cpp layer like this…
LOCAL_MODULE := libsqlcipher_android
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libsqlcipher_android.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../../cpp/thirdparty/include
This works great with API 18+ but any version of the API older than this fails. Our app compiles fine, however when System.loadLibrary() on our cpp NDK .so is called, the UnsatisfiedLinkError exception is thrown.
Any help with this would be greatly appreciated.