Answers for "run emulator from terminal mac"

0

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
Posted by: Guest on July-22-2021
0

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
Posted by: Guest on October-04-2021

Code answers related to "run emulator from terminal mac"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language