Dear Sir:

     I have a static library: libhello.a and I want to create a
executable file that link with this
     static library: libhello.a

     I put this static library under
     /out/target/product/generic/obj/STATIC_LIBRARIES/
libhello_intermediates/
     and make my executable file, but failed

     It shows error message:
     "make: *** No rule to make target `NOTICE-TARGET-STATIC_LIBRARIES-
libhello'.  Stop."

     How to fix this issue? (Below is Android.mk of executable file)
     Thanks!!!

//-----------------------------------------------------//
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE_PATH := $(TARGET_OUT)/bin
LOCAL_SRC_FILES:= MyMain.c
LOCAL_SHARED_LIBRARIES := libcutils libc
LOCAL_STATIC_LIBRARIES := libhello
LOCAL_MODULE := myhello
include $(BUILD_EXECUTABLE)
//-----------------------------------------------------//


BR,
Alan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to