When I use ndk
, I can not find symbols in shared_libraries
.
Android.mk :
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := test
LOCAL_SRC_FILES := test.cpp
include $(BUILD_SHARED_LIBRARY)
test.cpp:
void fun() {}
after ndk-build, nm /libs/armeabi/libtest.so, the result is no symbols, why ?