Skip to content

Tag: android-ndk

Loading a native library in an Android JUnit test

I’ve generated a native library using ndk-build which I’m able to load and use with in my Android application. However, I want to write some tests against this part of my app. When calling the native function in my tests, I recieve this exception message: …where process is my native library to import, named libprocess.so. I’m using Roboelectric for my