Ask Your Question
0

Errors on importing OpenCV Samples : BasedLoaderCallback cannot be resolved to a type

asked 2012-11-22 11:20:10 -0600

Karl gravatar image

Hello again! I imported the OpenCV-Android samples in Eclipse. I installed Eclipse,NDK,SDK from here (http://docs.opencv.org/2.4.1/doc/tutorials/introduction/android_binary_package/android_binary_package.html) but got these errors. image description Please I've been struggling for 3 weeks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2012-11-23 01:21:41 -0600

You use tutorial for older version of OpenCV (2.4.1), use this one. Try to clean you project by selecting by Project->clean menu in Eclipse. It rebuilds all automatically. Also if you use the latest version of Android SDK (21) you need to delete sdk/java/.settings folder form OpenCV SDK. Eclipse regenerates it for the latest version of Android SDK automatically.

edit flag offensive delete link more

Comments

And also be aware that all the OpenCV4Android samples depend on OpenCV library project, so you need to import the last one to your workspace ass well!

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2012-11-23 01:52:23 -0600 )edit

Thank you. No errors now. But when I tried to run the samples, the screen displayed 'camera not supported'. Full details http://answers.opencv.org/question/4500/device-not-found-camera-not-supported/

Karl gravatar imageKarl ( 2012-11-23 06:23:59 -0600 )edit

i'm unclear on your solution, Andrey. What's the library project?

austinzuffi gravatar imageaustinzuffi ( 2013-02-12 18:35:24 -0600 )edit
0

answered 2014-09-05 10:21:32 -0600

crazymichel1 gravatar image
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-22 11:20:10 -0600

Seen: 5,859 times

Last updated: Sep 05 '14