I have tried to run this demo on a new project,but failed......
The error message is:
E/art: No implementation found for int caffe_android_lib.CaffeMobile.loadModel(java.lang.String, java.lang.String) (tried Java_caffe_1android_1lib_CaffeMobile_loadModel and Java_caffe_1android_1lib_CaffeMobile_loadModel__Ljava_lang_String_2Ljava_lang_String_2)
E/AndroidRuntime: FATAL EXCEPTION: main
Process: yishan.opencv_test, PID: 24033
java.lang.UnsatisfiedLinkError: No implementation found for int caffe_android_lib.CaffeMobile.loadModel(java.lang.String, java.lang.String) (tried Java_caffe_1android_1lib_CaffeMobile_loadModel and Java_caffe_1android_1lib_CaffeMobile_loadModel__Ljava_lang_String_2Ljava_lang_String_2)
at caffe_android_lib.CaffeMobile.loadModel(Native Method)
at yishan.opencv_test.MainActivity.onCreate(MainActivity.java:104)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
I/Process: Sending signal. PID: 24033 SIG: 9
Application terminated.
I have tried to run this demo on a new project,but failed......
The error message is: E/art: No implementation found for int caffe_android_lib.CaffeMobile.loadModel(java.lang.String, java.lang.String) (tried Java_caffe_1android_1lib_CaffeMobile_loadModel and Java_caffe_1android_1lib_CaffeMobile_loadModel__Ljava_lang_String_2Ljava_lang_String_2) E/AndroidRuntime: FATAL EXCEPTION: main Process: yishan.opencv_test, PID: 24033 java.lang.UnsatisfiedLinkError: No implementation found for int caffe_android_lib.CaffeMobile.loadModel(java.lang.String, java.lang.String) (tried Java_caffe_1android_1lib_CaffeMobile_loadModel and Java_caffe_1android_1lib_CaffeMobile_loadModel__Ljava_lang_String_2Ljava_lang_String_2) at caffe_android_lib.CaffeMobile.loadModel(Native Method) at yishan.opencv_test.MainActivity.onCreate(MainActivity.java:104) at android.app.Activity.performCreate(Activity.java:5990) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) I/Process: Sending signal. PID: 24033 SIG: 9 Application terminated.
Ask for help,thanks.