I don't think you can have "include $(BUILD_MULTI_PREBUILT)" and
"include $(BUILD_EXECUTABLE)" without having a "include $(CLEAR_VARS)"
in between. Please look at the example that I have shown earlier and
try that out.

-Ravi

On Feb 8, 8:54 pm, Girish <htgir...@gmail.com> wrote:
> Hi Ravi and Joe thanks for your responses This is my make file
>
> LOCAL_PATH:= $(call my-dir)
> include $(CLEAR_VARS)
>
> LOCAL_SRC_FILES:= \
>                 main.c \
>                 test.c \
>
> LOCAL_C_INCLUDES += \
>                     $(LOCAL_PATH)/
>
> LOCAL_PREBUILT_LIBS:= libmylibrary1.so libmylibrary2.so
> libmylibrary3.so
>
> include $(BUILD_MULTI_PREBUILT)
>
> LOCAL_MODULE := lib_test
>
> include $(BUILD_EXECUTABLE)
>
> Whn i compile this makefile it says
>
> Build/core/main.mk:180: implicitly installing apns-conf_sdk.xml
> build/core/base_rules.mk:110: *** external/testlib: LOCAL_BUILT_MODULE
> and LOCAL_INSTALLED_MODULE must not be defined by component
> makefiles.  Stop.
>
> If i am doing some thing wrong please let me know. I want an
> executable to test my library.
>
> Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to