androidwindowsandroid-studioemulationandroid-virtual-device

AVD Crash on second monitor


I just installed Android Studio and was trying to get a preview of my application but whenever i start the AVD Emulator on whatever devices or API it crashes, but it only do crash when I swipe the window of the AVD to my second monitor.

my computer configuration : i7-6700k, 16Gb RAM and a GTX 1060
the AVD configuration : AVD Configuration

Anyone had the same problem in the past or have a solution ? feel free to ask me for more info in case I didn't explained enough


Solution

  • I had the same problem, and I found a solution that you can have the hardware acceleration still activated and move the AVD between monitors.

    Here's how I did it:

    1. Start the AVD.
    2. Go to Extended Controls (the last button on the control strip, with the 3 dots) > Settings > Advanced
    3. Change the "OpenGL ES renderer" to "ANGLE (D3D11)"
    4. Restart the AVD.

    And there you go.