gpt4 book ai didi

android - 模拟器 : ERROR: Could not initialize OpenglES emulation, 使用 '-gpu off' 禁用它

转载 作者:行者123 更新时间:2023-11-30 02:04:41 24 4
gpt4 key购买 nike

我正在运行来自 https://github.com/google/gcm 的相同代码还没有定制。我使用 Android Studio 1.2.2 和 JDK 1.8 并导入项目,当我运行它时等待 5 分钟,然后我看到以下错误。

我确实在网上搜索过,发现非常相似的错误,但在 Could not run Android emulator as could not initialize emulated framebufferHAX in Windows 7 上并不准确.

供引用的错误 fragment

C:\....\...\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_5_API_22_x86 -netspeed full -netdelay none
Creating filesystem with parameters:
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
Size: 69206016
Block size: 4096
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
Blocks per group: 32768
could not get wglGetExtensionsStringARB
Inodes per group: 4224
could not get wglGetExtensionsStringARB
Inode size: 256
Journal blocks: 1024
could not get wglGetExtensionsStringARB
Label:
could not get wglGetExtensionsStringARB
getGLES1ExtensionString: Could not find GLES 1.x config!
Blocks: 16896
Block groups: 1
Failed to obtain GLES 1.x extensions string!
Reserved block group size: 7
Could not initialize emulated framebuffer
Created filesystem with 11/4224 inodes and 1302/16896 blocks
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

最佳答案

如果您使用的是 Android Studio,则可以通过 AVD 管理器的高级设置禁用 GPU。 enter image description here

希望这会有所帮助。

关于android - 模拟器 : ERROR: Could not initialize OpenglES emulation, 使用 '-gpu off' 禁用它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30877544/

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