How to resolve the java.lang.UnsatisfiedLinkError in NDK in Android?
I think you forgot to change the package name. Java_com_mindtherobot_samples_ndkfoo It should be your package what you have specified creating project.
I think you forgot to change the package name. Java_com_mindtherobot_samples_ndkfoo It should be your package what you have specified creating project.
If you have a native project with LOCAL_MODULE “libXYZ”, make sure to load it as System.loadLibrary(“XYZ”);
Looking through the gradle plugin code, I found the following that helped me use both NDK and prebuilt native libraries: To simply Link in Prebuilt Native Libraries, just add an ndk section to your task. For instance, I added it below in productFlavors. The abiFilter is the folder name the libs are stored in. abiFilters … Read more