(a) Android.mk下加入LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog. (b) 在目標檔案加入#include <android/log.h>. (c) 在要秀Log的地方 ...
確定! 回上一頁