It looks like you have your Android.mk at frameworks/base/mylib. Is
that right? If so, then your library "mylibrary.so" also needs to be
present at the same location.

And, you don't need to (or rather should never try to) copy the
libraries in the "out" directory.


-Ravi

On Mar 3, 3:25 am, KOMA <[email protected]> wrote:
> Hi,
>
> I want to use mylibrary.so which build outside android sdk.
> So I write Android.mk as below,
> *********************************
> LOCAL_PATH:= $(call my-dir)
> include $(CLEAR_VARS)
>
> LOCAL_PREBUILT_LIBS := \
>         mylibrary.so
> include $(BUILD_MULTI_PREBUILT)
> *********************************
>
> But when I built the sdk, it told me that,
> make: *** No rule to make target `frameworks/base/mylib/mylibrary.so',
> needed by `out/target/product/generic/obj/lib/mylibrary.so'.  Stop.
>
> Before built, I have copy "mylibrary.so" to out/target/product/generic/
> obj/lib and out/target/product/generic/system/lib
>
> So anyone has some idea?
>
> Thanks!
> KOMA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to