有時候在JNI需要進行Debug ,可以透過android的log來除錯. 加入Header #include <Android/Log.h>#define LOG(pri,tag,text) __android_log_write(pri,tag,text).
確定! 回上一頁