I've been trying to run the "OCV 15 Puzzle" sample app for Android provided by OpenCV, but it's not working; every time I try to run the app a message appears saying: "Package Not Found, OpenCV library package was not found! Try to install it? Yes/No". I press, "Yes" and then I get prompted to a new message saying: "OpenCV Manager, Package Installation Failed!".
I installed OpenCV manager from Google Play, so in theory I should be able to run the sample app. I've also been searching everywhere for a solution and so far I have had 0 success. I am using a Samsung Galaxy mini S3 to run the app. (Android Ver. 4.1.2).
Any help is greatly appreciated folks!
Alright, well I solved the problem by getting rid of OpenCV Manager, and using the library version of OpenCV-android-2.4.11 instead of 3.0. In short, what I did was:
Go to src folder >> org.opencv.samples.puzzle15 >> Puzzle15Activity.java and edit it by adding
static { if (!OpenCVLoader.initDebug()) { // Handle initialization error } }
right after the global variables and comment out the line
located in the overridden method "OnResume()".
After all this I ran it on my phone and it worked! I hope this helps someone who's about to throw their computer out of the window out of frustration. Cheers!