问题
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
回答1:
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
.
回答2:
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.
来源:https://stackoverflow.com/questions/18727199/opencveclipseandroid-error-org-opencv-video-video-java