1.android 4.2编译硬件抽象层cpp文件,添加打印log信息异常报错 undefined reference to '__android_log_print'
解决方法:a.头文件#include <cutils/log.h>
b.ALOGE,ALOGI........
c. Android.mk: LOCAL_SHARED_LIBRARIES := liblog libcutils
1.android 4.2编译硬件抽象层cpp文件,添加打印log信息异常报错 undefined reference to '__android_log_print'
解决方法:a.头文件#include <cutils/log.h>
b.ALOGE,ALOGI........
c. Android.mk: LOCAL_SHARED_LIBRARIES := liblog libcutils