以前のリビジョンの文書です
# 接続機器一覧 > adb devices List of devices attached FA88H1F00864 device emulator-5554 device # 実機のログ確認 > adb -s FA88H1F00864 logcat -s neko:* --------- beginning of main --------- beginning of system --------- beginning of crash # 端末に接続する >adb shell error: more than one device/emulator // 複数接続している場合は指定する必要がある # 端末IDの確認 >adb devices List of devices attached FA88H1F00999 device emulator-5554 device # 端末を指定して接続する >adb -s emulator-5554 shell generic_x86:/ $ # rootを取得する >adb root # >adb remount Not running as root. Try "adb root" first. #
>adb root >adb remount Not running as root. Try "adb root" first. や Permission denied や generic_x86:/ $ // $マーク の場合はrootが取得できていない。
adb root
でrootを取得するためには、「Google APIs」のimageを選択したエミュレーターを使用する必要がある。