编译文件中加入:

LOCAL_SHARED_LIBRARIES += libutilscallstack

源代码中加入:

#include <utils/CallStack.h>

android::CallStack cs("test");

更多推荐