I have been installing OpenCV (this is the tutorial), I read the tutorial but this error appeared (error in Video.java (PHOTO)). I have installed the last version. I don't understand. Anybody can help me and explain me what happened? thanks
If someone have this problem, do this:
In OpenCV project.properties change target=android-11
(or in some cases 14) to target=android-17
.
Edit: For the newer OpenCV-2.4.10-android-sdk
you will need to change it to target=android-20
.
In each OpenCV project.properties we need to set Android -> Project Build Target -> in my case I use check the toggle Android 4.1.2. but you can choose this android version. Doing that all projects compiled well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With