After successfully compiled, App still crashed when started. Becasue the source code has a error.
By replacing the code in ./jni/DetectionAndRecognition.cpp, line 216:
error code: (JNIEnv * jenv, jclass jclazz, jlong sample, jint size),
should be like this : (JNIEnv * jenv, jclass clazz, jlong sample, jint size)
Recompile ,and it will work.
After successfully compiled, App still crashed when started. Becasue the source code has a error.
By replacing the code in ./jni/DetectionAndRecognition.cpp, line 216:
error code: (JNIEnv * jenv, jclass jclazz, jlong sample, jint size),
should be like this : (JNIEnv * jenv, jclass clazz, jlong sample, jint size)
Recompile ,and it will work.