[AIOT] 如何使用 adb 獲取 Tinker Board 2 的日誌

針對 Logcat:

adb logcat > logcat.txt
 

Logcat 會儲存為 logcat.txt

針對核心:

adb shell dmesg > kernel.txt
 

Logcat 會儲存為 kernel.txt

參考資料: https://developer.android.com/studio/command-line/adb https://developer.android.com/studio/command-line/logcat