android 编译问题归类

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

你可能感兴趣的:(android 编译问题归类)