5

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

ERROR ERROR2

1
  • good style - to lay out a mistake with tabs Markers Eclipse IDE's Commented Nov 5, 2013 at 6:00

2 Answers 2

7

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.

Sign up to request clarification or add additional context in comments.

2 Comments

This worked for me. Thanks. (Also don't forget to accept your answer as well)
I had the same problem with OpenCV-2.4.10-android-sdk, and I needed target=android-20
1

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.

1 Comment

Can you explain why? Fuller explanations are better.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.