• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Include Prebuilt library to the main build (from complete source)

tonysonney

Lurker
Oct 20, 2009
7
0
Hi all,
I am building android from source (complete) source. I would like to include a pre-built library mylib.so into the build system. How do I do it? I tried using
Code:
LOCAL_SHARED_LIBRARIES += mylib.so
But it fails saying no rule to build mylib.so . I found out it will try to modify mylib.so to add dependency.

I tried using
Code:
LOCAL_LDLIBS += mylib.so
. But I seriously doubt whether it is really including the library. I get error messages complaining the functions defined in mylib.so as missing.

Any help is really appreciated. Please let me know how can I include the library?

Thanks,
Tony
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones