1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Development' started by tonysonney, Dec 16, 2009.

  1. tonysonney

    tonysonney Lurker
    Thread Starter

    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 (Text):
    1. 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 (Text):
    1. 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?


    1. Download the Forums for Android™ app!



Share This Page