![open two emulator in android studio on mac open two emulator in android studio on mac](https://i.stack.imgur.com/xOltj.png)
NOTE: For most Mac users, you can edit your ~/.bash_profile to change these settings and then run $source ~/.bash_profile to load the updates. $ANDROID_SDK_ROOT/tools in your $PATH variable, it should fix the The one in $ANDROID_SDK_ROOT/toolsĬannot start. The problem is there are two emulators: one in
#Open two emulator in android studio on mac update#
I noticed I periodically was seeing the console error "Your emulator is out of date, please update by launching Android Studio:" so I decided to check: $ which emulator UPDATE: Figured out the configuration problem!
![open two emulator in android studio on mac open two emulator in android studio on mac](https://docs.expo.dev/static/images/android-studio-avd-manager.png)
I hope someone else will be able to figure out what broke in the configuration.
![open two emulator in android studio on mac open two emulator in android studio on mac](https://4.bp.blogspot.com/--JDGMpc-dhE/W0OUetzsGyI/AAAAAAAAFmQ/IVVQjR5YF_UQEhrmq21chrm9sGuvk-GCQCLcBGAs/s1600/amd_android_emulator.png)
It's not ideal, but this was blocking my development so I had to get the emulator up and running again. SOURCE: /sdk/system-images/android-25/google_apis/x86/ĭESTINATION: ~/.android/avd/Pixel_XL_API_25.avd/Īfter that the emulator started right up. Android API 25 x86 w/ Google APIs), Android Emulator 25.3.1, and re-creating the AVD but nothing worked.įinally as a workaround, I just copied all of the system files from the SDK system images directory into the AVD directory:Įxample: Pixel XL (Android API 25 x86 w/ Google APIs) I tried re-installing the system image (e.g. You can get more information if you run emulator with the -verbose flag. I can't figure out what's causing the configuration problem but I did figure out a workaround.įirst, I tried to launch the emulator from the command line: $ emulator ERROR: This AVD 's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.Įmulator: ERROR: ANDROID_SDK_ROOT is defined (/sdk) but cannot find kernel file in /sdk/system-images/ sub directories I ran into the same problem after upgrading.