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

旧城冷巷雨未停 提交于 2020-01-02 04:24:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!