avoid using of .a for creation of .so
问题 i have created an android application,here most of my code is in c so i have created it using jni. i have to create socket.so file, in which i have to use the libtest.so . while using the libtest.so in socket.so i get the error:undefined reference to function() . my function() is present inside the libtest.so . so to avid this by suggestion i have created my Android.mk as below: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libtest LOCAL_SRC_FILES := libtest.so include $