put LOCAL_LDLIBS := -ldl -llog right after include $(CLEAR_VARS)
在cpp中#include <android/log.h>
原文:http://stackoverflow.com/questions/28004255/cant-print-log-messages-from-jni-with-android-studio
put LOCAL_LDLIBS := -ldl -llog right after include $(CLEAR_VARS)
在cpp中#include <android/log.h>
原文:http://stackoverflow.com/questions/28004255/cant-print-log-messages-from-jni-with-android-studio