Lynxbee topic

Native Libraries

Articles about Native Libraries.

Link Libraries Correctly in Android.mk

LOCAL_LDLIBS is appropriate for stable NDK system libraries such as log or z. External libraries should normally be declared as source-built or prebuilt ndk-build modules so headers, ABI selection, dependency order, packaging, and runtime loading remain reproducible.

Call C from Java with JNI on Linux

This modern JNI example replaces removed `javah` instructions with `javac -h`, derives the active JDK include path, compiles position-independent C into a shared library, and verifies both the exported symbol and Java-to-native call.

Engineering weekly

Useful technical knowledge, not inbox noise.

Receive verified fixes, references, labs, and tools. Confirm by email; unsubscribe any time.