のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

複数のAndroidのEmulatorのに対して、シェルを使いたいとき。

エミュレータの名前を調べる。

$adb devices
List of devices attached
emulator-5554 device

エミュレータにつなぐ。

$adb -s emulator-5554 shell

android SDK コマンド操作 adb