I have an android project using c++
I need to add a native lib .so to the classpath in an android project.
In the gradle android plugin I defined :
sources.main
{
jni.source.srcDirs = [cppSrc]
} //all native files are in this path
BUT when I want to run unit testing on my project I get an error saying that :java.lang.UnsatisfiedLinkError: no mey_jnilib in java.library.path
I KNOW THERE IS A SIMILAR TOPIC BUT IT’S NOT UPDATED…I hope someone here knows what to do because I’m going crazy here… TNX!!!