undefined reference to '__android_log_print'解決方案

1:在源程序中添加頭文件spa

#include <cutils/log.h>

2:在Android.mk中添加code

LOCAL_SHARED_LIBRARIES := \
        libutils \
        libbinder \
        libhardware \
相關文章
相關標籤/搜索