I have the exact same problem and error message. Can someone describe the difference between STATIC and SHARED library? Please help!
On Sep 24, 11:00 pm, mmj <[email protected]> wrote: > Anyone who knows the reason please help.It is very urgent. > Please be kind enough to share your insights!!! > > On Sep 24, 8:14 pm, mmj <[email protected]> wrote: > > > > > > > Hi, > > > I have a few pre-compiled static libraries,*.a files.How to add them > > inAndroid.mkfile?Finally i have to get a .so file . > > Here is theAndroid.mkfile I am having: > > > ****************************************************** > > LOCAL_PATH:= $(call my-dir) > > > include $(CLEAR_VARS) > > > LOCAL_MODULE := abc > > LOCAL_SRC_FILES := display.c > > include $(BUILD_STATIC_LIBRARY) > > > include $(CLEAR_VARS) > > LOCAL_PREBUILT_LIBS := lib1.a lib2.a lib3.a > > include $(BUILD_MULTI_PREBUILT) > > > include $(CLEAR_VARS) > > LOCAL_MODULE :=pqr > > LOCAL_SRC_FILES := pqr_jni.c > > LOCAL_STATIC_LIBRARIES = libabc lib1 lib2 lib3 > > include $(BUILD_SHARED_LIBRARY) > > ****************************************************** > > But i get error like: > > "make: *** No rule to make target `out/apps/app_name/android-1-5-arm/ > > lib1', needed by `out/apps/app_name/android-1-5-arm/pqr.so'. Stop" > > > What changes should i make inAndroid.mk? > > Please respond. > > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

