Hi all
I'm working on an project and co-work with other company
We're charged in Application and the other team provides native API
Since they're not providing their source code but only header files
(*.h) and share libraries (*.so)
And now I'm using NDK to build my native source codes.
I've add these *.h and *.so into my "jni" folder with other *.c files
and add these in Android.mk
LOCAL_MODULE := sample
LOCAL_SRC_FILES := my_sample_jnt.c
LOCAL_SHARED_LIBRARIES := libothers
include $(BUILD_SHARED_LIBRARY)
but since I build with NDK, it shows an Error that can't found
libothers.so in
my_project_root / bin / ndk / local / armeabi /
and I need to copy *.so manually.
And since it build pass and the libsample.so was generated
but after I install this APK into Emulator, it goes crash at runtime
and saie
Library libsample.so not found at System.loadLibrary("sample")
but other things, I use adb shell to get into my emulator file system
I did found libsample.so file in / data / data / [my_project] / lib /
does anyone ever tried that using 3rd party share library to build
your own one !?
thanks.
--
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