-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not invoke RNOpenCvLibrary.checkForBlurryImage #5
Comments
Hi, I still need help with this if anyone has any ideas. Thanks! |
@AntaresRahman I cloned the repository and followed the steps in the README.MD file and couldn't reproduce your error. Can you add more details? Like what phone did you use? |
I have same issue actually .... |
I've tried it before with jdk 8, but now I'm using jdk 10. I suspect this might be the issue if it works with jdk 7. However if this is the issue, I would really still hope to get it to work with the latest java as jdk 7 is getting pretty old now:
I'm using One Plus 3 for testing. For my gradle build, I'm using the following (same for gradle builds in OpenCV, react-native-camera and react-native-svg and I believe all other node_modules):
My gradle-wrapper.properties is using distribution 4.8.1: With Android Plugin for Gradle: I tried with the package.json that comes with this tutorial, but then I changed it to see if it works with everything set to latest:
Having no luck with that one error. This was the only related issue I found online: But the code for the opencv library seems a little different in the way that it's structured/implemented compared to the solution above. So I'm not quite understanding where to fit this solution. Mainly because I see that the Mat variable is declared in the |
@AntaresRahman If it doesn't work with a certain version of JDK, then you should rather head to the React Native team at Facebook :) |
I tried to change build.gradle file on android studio, below android studio it would show up syn gradle now link, after that, it works, other steps same as before, just this diff, |
@Meph1k which jdk are you using? I'm not really sure if it's an issue with the jdk version. @pohsiu which jdk are you using? Also, could you elaborate a little on that please? I might be having that same issue, but not quite sure what you mean. I will try to look at it soon and see if I understand what you mean, but some clarification would be great! :) Thanks for the help! |
@AntaresRahman I used 1.8 But you need restart, that means you need to back to square one |
I did the gradle syncing and used jdk 1.8. Still have the same problem. |
I figured out my problem. It is because I put the library in wrong folder. i.e. the native library should be in "jinLibs" instead of, incorrectly, "jinLibs\libs". |
Thanks @ltung your solution worked for me. |
does it work for you now? |
@piotr-s-brainhub I still can't figure why this is not working. http://answers.opencv.org/question/171681/android-canny-problem-no-implementation-found/ |
@mirzakhalov is this working? |
@SwagatRanjit84 The next steps works for me. The problem is where you locate the main library. You can try these steps: 2- rebuild. Good Luck. |
@AntaresRahman @pohsiu @ltung @mirzakhalov does the @davidrd108 solution from the previous comment work for you? |
I'm also getting the same error. |
I answered your issue (#22). |
I am getting the following error when I take a picture:
I found a similar issue on stackoverflow, but couldn't figure out how to solve this:
https://stackoverflow.com/questions/35090838/no-implementation-found-for-long-org-opencv-core-mat-n-mat-error-using-opencv
Any clues? Thanks!
The text was updated successfully, but these errors were encountered: