adbコマンドメモ

よく忘れるのでメモ。


起動

adb start-server


終了

adb kill-server


接続中のデバイスのリスト

adb devices


logcat

adb logcat


シェルでログイン

adb shell


バイスを指定してシェルでログイン

adb -s デバイス名 shell


バイスを指定してlogcat

adb -s デバイス名 logcat


バイスを指定してシェル、からのlogcat

adb -s デバイス名 shell

$ logcat