glTexImage2D:得到err pre :( 0x506内部0x1908格式0x1908类型0x1401 [英] glTexImage2D: got err pre :( 0x506 internal 0x1908 format 0x1908 type 0x1401
问题描述
在Android Studio上运行模拟器时,模拟器屏幕上看不到任何内容(所有内容均为黑色).我收到以下事件日志:
When running my emulator with Android Studio I can't see anything on the emulator screen (everything is black). I get the following Event Log:
仿真器:glTexImage2D:得到了err pre :( 0x506内部0x1908格式0x1908类型0x1401
Emulator:glTexImage2D: got err pre :( 0x506 internal 0x1908 format 0x1908 type 0x1401
我已经尝试清理项目并重建它,但是什么也没发生.我认为这与模拟器有关.
I already tried to clean the project and rebuild it but nothing happened. I think it's something related just with the emulator.
有人知道发生了什么事吗?
Does anyone know what's going on?
推荐答案
是的,这全都与模拟器有关.
Yes, it's all about the emulator.
转到工具">"AVD管理器">((编辑特定的虚拟设备)>选择冷启动"
Go to Tools > AVD manager > (Edit a specific Virtual Device) > Select Cold boot
然后使用该AVD再次运行您的项目.关闭会话,然后再次在启动"选项中设置快速启动".
Then run again your project with that AVD. Close the session and set again Quick boot in Boot option.
这篇关于glTexImage2D:得到err pre :( 0x506内部0x1908格式0x1908类型0x1401的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!