Tonton MyTV dilengkapi intisari rancangan pada smart TV bermula RM4.99 sebulan. Selanjutnya →

Logcat

Ahad, 29 September 2013, 11:52 am0

To use logcat to debug Android app

  1. Install Android SDK
  2. Add c:Androidandroid-sdkplatform-toolsadb.exe to PATH

Command:

  • get list of connected devices, will return device serial number
    adb devices
  • filter logcat by tag (e.g by “TiAPI” tag)
    adb -s <DEVICE_SERIAL_NUM> "TiAPI"

Tulis komen: