Ask Your Question

himmelsfisch's profile - activity

2014-02-10 05:38:49 -0500 received badge  Student (source)
2013-11-01 11:14:54 -0500 asked a question Writing test cases for OpenCV for Android

I'm using Google's ADT bundle (Eclipse + Android SDK) in conjunction with OpenCV for Android 2.4.6. In order to test a class (no activity) from an Android app, I wrote a test case for it. When I run it, I get this:

java.lang.UnsatisfiedLinkError: Native method not found: org.opencv.core.Mat.n_eye:(III)J
at org.opencv.core.Mat.n_eye(Native Method)
at org.opencv.core.Mat.eye(
at de.htw_berlin.threed_scan.utils.SceneStitcher.findTransformations(
at de.htw_berlin.threed_scan.utils.SceneStitcher.consolidateCoordinateSystems(
at de.htw_berlin.threed_scan.utils.SceneStitcher.stitchClouds(
at de.htw_berlin.threed_scan.test.SceneStitcherTest.testStitchClouds(
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.InstrumentationTestCase.runMethod(
at android.test.InstrumentationTestCase.runTest(
at android.test.ActivityInstrumentationTestCase2.runTest(
at android.test.AndroidTestRunner.runTest(
at android.test.AndroidTestRunner.runTest(
at android.test.InstrumentationTestRunner.onStart(

While the project to be tested runs fine, the test project seems to lack the native binarys. Any ideas?