Reputation: 21
I writing a application that is made with 2 steps.
First: Compile the libjson for android
My app will manipulate json in the native code. So, I write a make file to compile and generate a shared object ( .so ) of the libjson using a standalone toolchain.
Second: Compile the app native code with standalone
In the native code of my app I uses the libjson that I compiled before. And for compile and generate the .so of my native code I used standalone toolchain too.
In theses, all two .so are ok. Any problem is showed when I generate then. But... when I try load the following error is showed:
10-09 16:15:00.109: E/AndroidRuntime(2320): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "json_size" referenced by "libtestelib.so"...
What am I forgetting?
Thank you
Upvotes: 1
Views: 202