This is what I would have in your Android.mk: ************* LOCAL_PATH := $(my-dir)
LOCAL_PREBUILT_LIBS := libmylibrary1.so libmylibrary2.so libmylibrary3.so include $(BUILD_MULTI_PREBUILT) include $(CLEAR_VARS) LOCAL_PATH := $(my-dir) <Rest of your Android.mk for your .c/.h files> ************* -Ravi On Feb 7, 7:59 am, Girish <[email protected]> wrote: > Hi Ravi > > I added all the .c and .h files and libs in the same folder. Do i need > to add them anywhere else ? > > From which path libutils libcutils will be taken ? > > Please Clarify...... Thanks in adavance. > > Regards > Girish > > On Feb 7, 9:46 pm, rktb <[email protected]> wrote: > > > Where did you add libmylibrary1.so, libmylibrary2.so, and > > libmylibrary3.so in the tree? > > > fyi...you don't need LOCAL_PRELINK_MODULE := false in the makefile of > > your executable. This is already taken care of in the rules. > > > -Ravi > > > On Feb 7, 3:32 am, Girish <[email protected]> wrote: > > > > Hi, > > > > I want to use a native libraries written in C (supplied by 3rd party > > > vendor) in android native application. > > > > I have added it like this in make file > > > > LOCAL_SHARED_LIBRARIES += libutils libcutils libmylibrary1 > > > libmylibrary2 libmylibrary3 > > > > LOCAL_PRELINK_MODULE := FALSE > > > > LOCAL_MODULE := my_test > > > > When i add this and compile it says > > > > make: *** No rule to make target `out/target/product/obj/lib/ > > > libmylibrary1.so', needed by `out/target/product/obj/ > > > EXECUTABLES/my_test_intermediates/LINKED/my_test'. Stop. > > > > This 3rd party library is built using linux-eabi-arm and glibc2.2. > > > Will it work on android. Please confirm.If no i want to know the > > > reason for the same. > > > > Thanks in advance. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
