What’s the exact error message you are getting???
From memory, JNIEXPORT does not include ‘ extern “C” ‘ – so if your source file is C++ your function name will be mangled (and the linker will not find them).
1
solved Linker Error In C: undefined Reference to “method” c [closed]