Q:

import .so into android studio error

I am trying to import a third-party .so into my android-studio project,but I don't know how to do.
My environment:
Ubuntu 14.04, Android-studio 1.4, Gradle 2.4,NDK r10e
so,Is there anyone can help me ? Thanks a lot. 
what I have done:

download the ccv(github.com/liuliu/ccv) source code,then use arm-linux-androideabi-gcc to get the libccv.so file.
copy the libccv.so file into the folder /src/main/jniLibs/armeabi
int the main activity, system.LoadLibrary("ccv"),then call ccv's function ccv_read_impl.

but the IDE says :
undefined reference to 'ccv_read_impl'
my project structure is like this:
my project structure
as @sonic saied ,I add System.loadLibrary("ccv") in my MainActivity, but the error is still there.
As I'm trying to use a simple .so to test how to use it.I write the C add function :int result(int a,int b),and make it libadd.so.the others are all as above;
the error info is like this: 
the error info and the code I call the function

A:

Apart from the learning curve of how to organize the environment with Android Studio, I am afraid you have a major roadblock here: the ccv library does not have a suppored Java wrapper. You can build the binary for Android, but you cannot call its functions directly from Java. 
A generic wrapper may be a huge investment, but a great contribution to the community. On the other hand, if your app needs some very specific response from Computer Vision, you can probably forge a specialized JNI wrapper. Still, this is not a plug-and-play task.

