Cordovaとandroidでデバッグするときの備忘録
端末一覧
adb devices
端末を指定する
端末一覧の左側に出たIDをつかう
adb -s <id>
ログを見る
adb logcat
時刻
adb logcat -v time
shell
adb shell
パッケージ一覧
$ pm list package
アプリごとの作業ディレクトリに潜る
シェル内で
$ run-as com.example.package
adb devices
端末一覧の左側に出たIDをつかう
adb -s <id>
adb logcat
adb logcat -v time
adb shell
$ pm list package
シェル内で
$ run-as com.example.package