I have one question for the change: How android know the location of the static library as we don't give the absolute path of the files?I add the path in LOCAL_PREBUILT_LIBS but also get same error.
And I got below erorr with your suggested change: make: *** No rule to make target `out/target/product/umts_xxx/obj/ STATIC_LIBRARIES/vendorlib1_intermediates/vendorlib1.a', needed by `out/target/product/umts_xxx/obj/SHARED_LIBRARIES/ libvendorshared_intermediates/LINKED/libvendorshared.so'. Stop. Below is the whole make file content: ---------------------------------------------------------------------- LOCAL_PATH:= $(my-dir) include $(CLEAR_VARS) MYLOCAL_PATH := $(LOCAL_PATH) LOCAL_PREBUILT_LIBS := vendorlib1 vendorlib2 include $(BUILD_MULTI_PREBUILT) LOCAL_PATH := $(MYLOCAL_PATH) include $(CLEAR_VARS) LOCAL_MODULE := libvendorshared LOCAL_WHOLE_STATIC_LIBRARIES := vendorlib1 vendorlib2 include $(BUILD_SHARED_LIBRARY) --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
