Is there someone who had experience with this error?
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file \"/data/app/org.swig
In my case After running the ndk-build in the jni folder the shared library was created under the libs folder but the path specified in build.gradle
ndk-build
jni
libs
sourceSets.main { jni.srcDirs = [] jniLibs.srcDir 'src/main/jniLibs' }
so I need to move the created shared library to jnilibs folder and it worked!
jnilibs