Android Hacks - Hack57 syukudai

  • Published on
    07-Nov-2014

  • View
    2.119

  • Download
    3

Embed Size (px)

DESCRIPTION

Android Hacks & ()http://www.oreilly.co.jp/books/9784873114569/

Transcript

  • 1. ANDROID HACKS #57 ADB EXTRA STAGE Twitter : @nave_aki 09/19/11
  • 2.
      • Android Hacks
      • http://www.oreilly.co.jp/books/9784873114569/
    09/19/11
  • 3.
      • from kawara-tan
        • logcat
    09/19/11
  • 4. 1. 09/19/11
  • 5. 1.
    • logcat
      • main
      • radio
      • events
      • adb logcat -b
    • ( main )
    09/19/11
  • 6. 2. logcat 09/19/11
  • 7. 2. logcat
    • logcat Android
    • logcat
    • ->
      • Verbose
      • Debug
      • Information
      • Warning
      • Error
      • Fatal
    09/19/11
  • 8. 2. logcat
    • android.util.Log
      • Log.v(String tag, String msg) Verbose
      • Log.d(String tag, String msg) Debug
      • Log.i(String tag, String msg) Information
      • Log.w(String tag, String msg) Warning
      • Log.e(String tag, String msg) Error
      • Log.wtf(String tag, String msg) What a Terrible Failure
    • SDK main
    09/19/11
  • 9. 2. logcat
    • logcat
    • logcat -d
      • -d
      • -d
    09/19/11
  • 10. 3. 09/19/11
  • 11. 3.
    • Android /dev/null
    09/19/11
  • 12. 3.
    • $ adb shell stop $ adb shell setprop log.redirect-stdio true $ adb shell start
    • ( )
      • stdout stderr
      • I
    • /data/local.prop
      • log.redirect-stdio true
    09/19/11
  • 13. 4. 09/19/11
  • 14. 4.
    • bugreport
      • dumpstate
      • dumpsys
      • logcat (main, events, radio )
    09/19/11
  • 15. URL
    • Android Developers
      • logcat http://developer.android.com/guide/developing/tools/logcat.html
      • Reading and Writing Logs http://developer.android.com/guide/developing/debugging/debugging-log.html
    09/19/11