android ndk添加打印 解决undefined reference to __android_log_print'问题
在so库中添加打印,android虚拟机不能打印的问题
需要引用库,添加 几个地方
#include
#define LOG_TAG "communicate"
#define LOGI(args...) \
__android_log_print(ANDROID_LOG_INFO,LOG_TAG, args)
#define DEBUG(args...) \
__andr
原创
2014-02-21 19:45:54 ·
1655 阅读 ·
0 评论