• 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)

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
 
Back
Top Bottom