f you are using macOS, add both Android SDKemulator
andtools
directories to the path:
Step 1:In my case the order was important, firstemulator
and thentools
.
export ANDROID_SDK=$HOME/Library/Android/sdk
export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH
Step 2:Reload you.bash_profile
Or.bashrc
depending on OS
Step 3:Get list of emulators available:$emulator -list-avds
Step 4:Launch emulator from the command line and Replaceavd
with the name of your emulator$emulator @avd
Don’t forget to add the@
symbol.
This was tested with macOS High Sierra 10.13.4 and Android Studio 3.1.2.
Similar Posts:
- How to Allow Apps from Anywhere in MacOS Gatekeeper (Mojave, Sierra, High Sierra)
- Mac ADB prompts command not found
- adb: command not found [How to Solve]
- [MacOS Catalina new Shell] How to Solve Error: The default interactive shell is now zsh
- Install and run Android in Androidx86 emulator – This adb server’s $ADB_VENDOR_KEYS is not set
- Solve the problem of ADB: command not found on MAC
- [Run the android emulator] emulator: ERROR: x86 emulation currently requires hardware acceleration!
- Android AVD startup error [How to Solve]
- [Solved] ADB connect simulator error: ADB Server Version (36) doesn’t match this client (41); killing…
- Initialization of react native Android [How to Solve]