Open Android and iOS simulator with terminal
simple commands to open and manage simulators in the terminal
Wed, 09 Jan 2019
Sometimes it can be a pain to open Xcode and Android Studio just to open a simulator. You can open up the simulator’s using these commands.
-
ios Open your terminal and run this command. This will open up your most recent simulator
open -a Simulator.app
-
Android Go to tools directory inside your android sdk like:
-
cd ~/.Android/Sdk/tools
-
./emulator -avd <your-avd>
You can find your avd name by running:
./emulator -list-avds