当我使用时ndk
,我无法在shared_libraries
.
安卓.mk:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := test
LOCAL_SRC_FILES := test.cpp
include $(BUILD_SHARED_LIBRARY)
测试.cpp:
void fun() {}
ndk-build, nm /libs/armeabi/libtest.so 后,结果是没有符号,为什么?