java - Android opencv library reference is not working correctly -


at first working 5 hours solve problem , tried hard describe well, if not clear please tell me.

i have downloaded tegra developer pack imported open cv 2.4.3 library project , sample projects work great on device samsung galaxy note 2. have tried many ways make opencv project work not.

i have created project , added android library reference in project properties. exacly every sample project has done. "they" green tick @ first green tick when enter properties again red cross appears :

my project: enter image description here

sample project:

enter image description here

in end project full of errors(cannot import class etc.), sample projects clean.

i have tried import opencv adding jar file build path this.

enter image description here

then import problems in java files gone stil xml containing opencv parts not work.

example:


result:

enter image description here

the following classes not instantiated: - org.opencv.android.javacameraview (open class, show error log) see error log (window > show view) more details. tip: use view.isineditmode() in custom views skip code when shown in eclipse  java.lang.classnotfoundexception: org.opencv.r$styleable     @ java.net.urlclassloader$1.run(urlclassloader.java:202) 

....

the weird thing when click open class in error listing above open right javacameraview source code

ok found out how fix it.

if want work tegra developer pack make workspace directory directory of samples: tegra\opencv-2.4.3.2-android-sdk-tadp\samples

or copy imported projects, not make reference them.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -