Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
389 views
in Technique[技术] by (71.8m points)

android - 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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...