Ask Your Question

Revision history [back]

UnsatisfiedLinkError exception means that native libraries with jni code was not found. There are two possible reason. First, you forgot to build native part of samples, and there is no any *.so files in your package. To solve the issue you need to run ndk-build command from project folder. Second, you use platform that is differ from armeabi-v7a. All samples were configured for build for most popular platform armeabi-v7a. To solve the issue you need to edit jni/ file of samples and set APP_ABI variable to value "all". In this case ndk-build builds native part with jni code for all supported platforms.