I'm building an app and I have a corresponding test application for it. One of the first items I have added is some native code for a well- encapsulated computation (hashing). I now want to test this native code from my test application. I've imported the JNI wrapper class into my InstrumentationTestCase based test class - and with that, I'm able to compile the application. However, at runtime (running the tests) I get an UnsatisfiedLinkError thrown when the test tries to invoke the native method.
Does anyone know to call native code from a test app? Do I need to somehow force the native library to be part of the test application so that it can be loaded? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

