gpt4 book ai didi

android - 运行 Android 应用程序时出错 - 无法初始化 OpenglES 仿真,请使用 '-gpu off' 禁用它

转载 作者:IT王子 更新时间:2023-10-29 00:10:01 26 4
gpt4 key购买 nike

我是安卓编程新手。我指的是谷歌开发者网站来学习安卓。在运行应用程序 UI 时,我遇到了这些错误。

 H:\SDK\tools\emulator.exe -avd Nexus_5_API_21_x86 -netspeed full -netdelay none
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

我正在使用安卓工作室。

最佳答案

  • 转到 AVD 管理器。
  • 编辑您的 AVD。
  • 在模拟性能上选择“软件 GLES2.0”选项。(原因是部分用户没有安装显卡驱动)
  • 点击完成(保存)。
  • 再次启动 AVD。 enter image description here

关于android - 运行 Android 应用程序时出错 - 无法初始化 OpenglES 仿真,请使用 '-gpu off' 禁用它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30686324/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com