Having the above error in your Android JNI app? Read on...
Up front, I\'ll say that I\'ve already solved this, in my own way, but I feel something in the Android bu
Add this following code inside your gradle file
//libs is the location of your library's folder, It varies in diffarent projects like src/main/libs etc.
android {
sourceSets.main {
jniLibs.srcDir 'libs'
}
}
So, Android Studio keep on looking native libs inside jniLibs folder. this code will change the path of android studio to look libs in libs folder