super.setUp();
/*
* This causes the native shared library to be loaded when the
* class is first used. The library is only loaded once, even if
* multiple classes include this line.
*
* The library must be in java.library.path, which is derived from
* LD_LIBRARY_PATH. The actual library name searched for will be
* "libjni_lib_test.so" under Linux, but may be different on other
* platforms.
*/
try {
System.loadLibrary("jni_lib_test");
} catch (UnsatisfiedLinkError ule) {
Log.e("JniLibTest", "WARNING: Could not load jni_lib_test natives");
}