--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
In particular, it looks like it survived run-time linking so it looks
like you have built and packaged your native library correctly.
Work out why Java can't find the "static native int
com.eg.ncd.NativeLib.add(int, int)" function.
- Gus
docs/PREBUILTS.html
A couple things to check for:
The LOCAL_SRC_FILES are looked for relative to Android.mk, so if those
.so files are in a subfolder or somewhere else you'll need a relative
path to it:
LOCAL_SRC_FILES := libs/libavformat.a
Also, you didn't include the rest of the Android.mk, but make sure you
included the pre-built module in your primary output module. Also,
there is a typo in the docs; the variable used to list shared library
modules is:
LOCAL_SHARED_LIBRARIES := libMyTestNCL-prebuilt
--Mike