使用 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:
Emulator:glTexImage2D: goter err pre :( 0x506 internal 0x1908 format 0x1908 type 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.
有人知道怎么回事吗?
是的,都是模拟器的问题.
Yes, it's all about the emulator.
转到工具 > AVD 管理器 >(编辑特定虚拟设备)> 选择冷启动
Go to Tools > AVD manager > (Edit a specific Virtual Device) > Select Cold boot
然后使用该 AVD 再次运行您的项目.关闭会话并在 Boot 选项中重新设置 Quick boot.
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!