I had add the .so file into my project, the path is 'src/main/jniLibs/armeabi/libAndroidIDCard.so'. The APK file is already contain this library at 'lib/armeabi/libAndroidIDCard.so'.
I load this library as follows:
static {
System.loadLibrary("AndroidIDCard");
}
but got an 'java.lang.UnsatisfiedLinkError: Couldn't load AndroidIDCard from loader' Exception.
Why?
I have solved by add a 'armeabi-v7a' folder and put the '.so' file into it.