Skip to main content

OpenCV with Android



I'm just after setting up OpenCV for android in Eclipse following this tutorial , I have the samples which do not use native c running fine on my phone.





The problem is when I try to run the native code samples, I followed all the steps on the next page for setting up the builder in eclipse but when I try to run the samples on my phone they crash. I have used NDK before and successfully set up tesseract for android using the command line to compile the native code instead of eclipse.





I think the problem is due to





unsatisfiedLinkError:Couldn't load native_sample:findLibrary returned null





but I am unsure. I have a screenshot here if that helps.





Any suggestions would be more than welcome !!


Comments

  1. please take a check if there is a native_sample.so in your apk, it seems the java app can not load your lib

    ReplyDelete

Post a Comment