1. Download our Official Android App: Forums for Android!

Apps 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
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Oct 20, 2009

    Oct 20, 2009
    7
    0
    5
    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?

    Thanks,
    Tony
     

    Advertisement

Share This Page

Loading...