{"action":"created","issue":{"url":"https://api.github.com/repos/sh1r0/caffe-android-lib/issues/6","labels_url":"https://api.github.com/repos/sh1r0/caffe-android-lib/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sh1r0/caffe-android-lib/issues/6/comments","events_url":"https://api.github.com/repos/sh1r0/caffe-android-lib/issues/6/events","html_url":"https://github.com/sh1r0/caffe-android-lib/issues/6","id":69756961,"number":6,"title":"Code crashes while calling native methods","user":{"login":"Aman5692","id":8044543,"avatar_url":"https://avatars.githubusercontent.com/u/8044543?v=3","gravatar_id":"","url":"https://api.github.com/users/Aman5692","html_url":"https://github.com/Aman5692","followers_url":"https://api.github.com/users/Aman5692/followers","following_url":"https://api.github.com/users/Aman5692/following{/other_user}","gists_url":"https://api.github.com/users/Aman5692/gists{/gist_id}","starred_url":"https://api.github.com/users/Aman5692/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aman5692/subscriptions","organizations_url":"https://api.github.com/users/Aman5692/orgs","repos_url":"https://api.github.com/users/Aman5692/repos","events_url":"https://api.github.com/users/Aman5692/events{/privacy}","received_events_url":"https://api.github.com/users/Aman5692/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-04-21T06:31:02Z","updated_at":"2015-04-21T13:26:41Z","closed_at":null,"body":"I have been following\r\nhttps://github.com/sh1r0/caffe-android-lib/blob/master/README.md\r\nand as i run this \r\ncaffeMobile.loadModel(modelPath, weightsPath);\r\n\r\nCode crashes with following logcat\r\n\r\n04-20 18:06:07.692: D/dalvikvm(9250): Trying to load lib /data/data/com.example.caffendk/lib/libcaffe.so 0x41496e98\r\n04-20 18:06:07.782: D/dalvikvm(9250): Added shared lib /data/data/com.example.caffendk/lib/libcaffe.so 0x41496e98\r\n04-20 18:06:07.782: D/dalvikvm(9250): No JNI_OnLoad found in /data/data/com.example.caffendk/lib/libcaffe.so 0x41496e98, skipping init\r\n04-20 18:06:07.782: D/dalvikvm(9250): Trying to load lib /data/data/com.example.caffendk/lib/libcaffe_jni.so 0x41496e98\r\n04-20 18:06:07.792: D/dalvikvm(9250): Added shared lib /data/data/com.example.caffendk/lib/libcaffe_jni.so 0x41496e98\r\n04-20 18:06:07.832: W/dalvikvm(9250): No implementation found for native Lcom/example/caffendk/CaffeMobile;.loadModel:(Ljava/lang/String;Ljava/lang/String;)I\r\n04-20 18:06:07.832: D/AndroidRuntime(9250): Shutting down VM\r\n04-20 18:06:07.832: W/dalvikvm(9250): threadid=1: thread exiting with uncaught exception (group=0x40a13300)\r\n\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): FATAL EXCEPTION: main\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): java.lang.UnsatisfiedLinkError: Native method not found: com.example.caffendk.CaffeMobile.loadModel:(Ljava/lang/String;Ljava/lang/String;)I\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat com.example.caffendk.CaffeMobile.loadModel(Native Method)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat com.example.caffendk.MainActivity.onCreate(MainActivity.java:25)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.Activity.performCreate(Activity.java:5008)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.ActivityThread.access$600(ActivityThread.java:130)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.os.Looper.loop(Looper.java:137)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat android.app.ActivityThread.main(ActivityThread.java:4745)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat java.lang.reflect.Method.invoke(Method.java:511)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\r\n04-20 18:06:07.842: E/AndroidRuntime(9250): \tat dalvik.system.NativeStart.main(Native Method)\r\n\r\nI desperately need to run caffe on android, so can somebody suggest me what's going wrong. "},"comment":{"url":"https://api.github.com/repos/sh1r0/caffe-android-lib/issues/comments/94793257","html_url":"https://github.com/sh1r0/caffe-android-lib/issues/6#issuecomment-94793257","issue_url":"https://api.github.com/repos/sh1r0/caffe-android-lib/issues/6","id":94793257,"user":{"login":"Aman5692","id":8044543,"avatar_url":"https://avatars.githubusercontent.com/u/8044543?v=3","gravatar_id":"","url":"https://api.github.com/users/Aman5692","html_url":"https://github.com/Aman5692","followers_url":"https://api.github.com/users/Aman5692/followers","following_url":"https://api.github.com/users/Aman5692/following{/other_user}","gists_url":"https://api.github.com/users/Aman5692/gists{/gist_id}","starred_url":"https://api.github.com/users/Aman5692/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aman5692/subscriptions","organizations_url":"https://api.github.com/users/Aman5692/orgs","repos_url":"https://api.github.com/users/Aman5692/repos","events_url":"https://api.github.com/users/Aman5692/events{/privacy}","received_events_url":"https://api.github.com/users/Aman5692/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T13:26:41Z","updated_at":"2015-04-21T13:26:41Z","body":"i followed https://github.com/sh1r0/caffe-android-lib#build but got no error. There is no any folder like  \"caffe-mobile/libs/armeabi-v7a/\" and no .so's"}}