you're using the wrong path.
If the library was generated with the NDK, it should be installed under
/data/data/*appname*/*lib*/libnative.so
Also, you could try directly
System.loadLibrary(native);
that will translate to the same thing automatically.
On Mon, Oct 26, 2009 at 9:49 AM, Sanjay
Change the following code
static{
System.load(/data/data/com.android/libnative.so);
}
to
static{
System.load(native);
}
and make sure that your lib is in folder data/data/your app folder/
lib (the lib is placed automatically in this folder).
--
Roman Baumgaertner
Sr. SW
2 matches
Mail list logo