- OPEN ANDROID EMULATOR IN ANDROID STUDIO MAC MAC OS X
- OPEN ANDROID EMULATOR IN ANDROID STUDIO MAC UPDATE
Removing and reintalling HAXM from within Android Studio according to the instructions didn't work:
OPEN ANDROID EMULATOR IN ANDROID STUDIO MAC MAC OS X
I had the same issue in Android Studio 2.3.3 on Mac OS X 10.12.6 and the issue was caused by Android Studio using an old version of HAXM (6.0.3 when it should have been 6.2.1): $ kextstat | grep intelġ48 0 0xffffff7f8342c000 0x14000 0x14000 (6.0.3) 50449AFC-F7C6-38A0-B820-233E8A050FD6
OPEN ANDROID EMULATOR IN ANDROID STUDIO MAC UPDATE
UPDATE December 2017: I had the same problem with Debian Stretch and Android Studio 3.0.1 (same graphic card). My graphic card is an ATI Radeon HD 6850 by Sapphire. PS 2 - I work with Debian Jessie and Android Studio 2.2.3. PS 1 - The easiest way I found to set the environment variable, it's to modify the script that launch the Android Studio ( studio.sh, in my case it is inside /opt/android-stuido/bin), and add at the begining this: export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
With this change, when I run the emulator within Android Studio, it will also load the system libraries. The definitive solution is to set the ANDROID_EMULATOR_USE_SYSTEM_LIBS environment variable to 1 for your user/system. emulator -avd EMULATOR_NAME -netspeed full -netdelay none -use-system-libs How? Adding "-use-system-libs" at the end of the command. Solution? Very easy: to use the system libraries instead of the packaged in Android Studio. As it is explained here, it seems that Google packaged with Android Studio an old version of one library, and the emulator fails when it tries to use my graphic card. In my case, the application says that there is a problem loading the graphic driver (" libGL error: unable to load driver: r600_dri.so"). If everything is ok, the program doesn't start, and it writes in the terminal the concrete error. You can see the name of your (previously created with AVD Manager) emulators with this command. emulator -avd EMULATOR_NAME -netspeed full -netdelay none
So:ġ - Open a terminal and go to this folder: ~/Android/Sdk/toolsĢ - Start the emulator with this command. I think the best way to find the concrete error with the emulator is to start it within a terminal. And what's the cause of that? As you can see, there could be many causes. " is a generic message that appears, always, when the emulator can not start properly.
Reference (thank you seems that "Waiting for target device to come online. For this you could copy and paste your command line from "Run" or "AVD" Android Studio console. You could run your emulator from the command line.