0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Androidのemulatorをterminalから起動する方法(備忘録)

Last updated at Posted at 2018-10-14

androidのemulatorをterminalから一発で起動したかった。
わざわざandroid studio経由でemulatorを起動したくなかった。

何かを間違えたのか、何かを入れ忘れているのか忘れてしまったが
emulatorと打つと起動が出来ず、別の場所にあるemulatorを実行すると
androidのemulatorが起動できたので、一応メモっておく。
これでreact nativeの動作確認や、webのandroidでのUI確認などの手間が一つ減ってくれるはず。

$(echo `which emulator | sed -e "s/\tools/emulator/"` @Nexus_5X_API_27)

起動できるエミュレータの一覧は以下のコマンドで分かります。

emulator -list-avds
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?