start emulator from command line
@Get list of available emulators:
$ emulator -list-avds
Output:
2.7_QVGA_API_21
2.7_QVGA_API_22
Nexus_10_API_30
...
@Start emulator
$ emulator -avd Nexus_10_API_30
start emulator from command line
@Get list of available emulators:
$ emulator -list-avds
Output:
2.7_QVGA_API_21
2.7_QVGA_API_22
Nexus_10_API_30
...
@Start emulator
$ emulator -avd Nexus_10_API_30
open android emulator from terminal mac
Step 1 ( Add Environment Variable )
export ANDROID_HOME=/Users/$(whoami)/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/tools
Step 2 ( .bash_profile / .bashrc )
Reload you .bash_profile Or .bashrc depending on OS
Step 3 ( go to emulator directory )
cd /Users/$(whoami)/Library/Android/sdk/emulator
Step 4 ( Get all list of Advs )
emulator -list-avds
Step 5 ( Run your Emulator Command Mode )
emulator -avd Nexus_5_API_22_Android_5.1
Run emulator with terminal
cd C:UsersusernameAppDataLocalAndroidSdkemulator // terminal path
emulator -list-avds //to get avd names
emulator -avd Pixel_2_API_30 // to run avd
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us