I successfully cross-compiled a c++ library with the android ndk-Standalone toolchain then, i created a new android application project into Eclipse and when i put mylib.so
try { System.load("/data/data//lib/libsample-jni.so"); } catch (UnsatisfiedLinkError e) { System.loadLibrary(""); //remove lib and .so from name }
this will help you, Pls. check.