Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV+Eclipse+Android: Error org.opencv.video Video.java

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

ERRORERROR2

like image 999
oscargc Avatar asked Sep 10 '13 19:09

oscargc


Video Answer


2 Answers

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.

like image 154
oscargc Avatar answered Oct 11 '22 02:10

oscargc


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.

like image 1
Manuel Loaiza Avatar answered Oct 11 '22 03:10

Manuel Loaiza