Error while starting android emulator: FB::flushWindowSurfaceColorBuffer: window handle 0x4 not found

后端 未结 1 1861
情歌与酒
情歌与酒 2021-02-12 13:46

I just started working with android. So when i try to start the AVD (details below) it doesn\'t start, just a black screen for a time, until I get tired of it and shut it down.

相关标签:
1条回答
  • 2021-02-12 14:20

    Here's the deal. Host GPU is only supported for AVD devices that are using API 15 or later. You also have to have Android SDK Tools 17 or later installed. Also Host GPU is experimental. All of this is in the emulation documentation: http://developer.android.com/tools/devices/emulator.html

    Also your machine has to support OpenGL (most do) and you will get better results if your machine has a separate GPU even though it will work with integrated graphic chipsets as well.

    If you cannot take advantage of Host GPU then use the Snapshot option instead to gain some performance boost. This will take a snapshot of the ram on the initial start of the emulated device and then reuse it on initial boot start ups of the device. (Snapshot and Host GPU are actually mutually exclusive even though the ADV allows you to check both.)

    0 讨论(0)
提交回复
热议问题