I updated the Android Studio, and when I press the play
start compile button, an emulator window opens but it closes instantly, I can't run any code because the emulator doesn't work, and Android Studio just shows this message:
Waiting for target device to come online
Who knows how to fix this?
I still can't solve it, I tried to launch it through the Terminal and it tells me I think it closes it because of the following:
Warning: requested RAM 1536M too high for your system. Reducing to maximum supported size 0M
Find how to run the emulator on the command line, the first thing is to go to:
/Users/<user>/Library/Android/sdk/tools.
From that place run:
./emulator -list-avds
this will give us a list of emulators that we have, it shows me the only one that I have configured:Nexus_6_API_25
.Then run this line:
./emulator -avd Nexus_6_API_25 -netdelay none -netspeed full
But the same thing happened, and it showed me this on the screen:
Finally searching I found this that asks me to reinstall this Hardware Accelerated Execution Manager software and it worked :D