Trouble Linking Static Libraries Using Android Ndk R5b
Recently upgraded to NDK r5b, and the build fails with 'undefined reference' to functions located in a static library. Here is the error /home/brian/workspace/VoiceEngineDemo/obj/
Solution 1:
Are you building the libraries using ndk-build?
If not, I usually keep libraries I've built with the standalone toolchain in the jni folder and reference them directly by name in LOCAL_LDLIBS
:
LOCAL_LDLIBS := libvoiceengine.a
Post a Comment for "Trouble Linking Static Libraries Using Android Ndk R5b"