运行AVD会出错

Emr*_*sen 4 android android-virtual-device android-layout

命令我正在运行:

C:\Users\bhaishaki\AppData\Local\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5_API_22_x86
Run Code Online (Sandbox Code Playgroud)
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
getGLES1ExtensionString: Could not find GLES 1.x config!
Failed to obtain GLES 1.x extensions string!
Could not initialize emulated framebuffer
Run Code Online (Sandbox Code Playgroud)

小智 8

如果您正在使用Android Studio,请启动AVD Manager,编辑Nexus AVD(即单击铅笔图标),然后在结果窗口中取消选中"使用主机GPU"复选框.

这为我修复了错误,并允许我从Android Studio启动模拟器.

  • 在android studio 2.1.2中找不到此选项 (4认同)