glTexImage2D: 得到 err pre :( 0x506 内部 0x1908 格式 0x1908 类型 0x1

2023-04-21移动开发问题
3

本文介绍了glTexImage2D: 得到 err pre :( 0x506 内部 0x1908 格式 0x1908 类型 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:

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何在 COCOS2d Android 中使用 CClistview?
How can I use CClistview in COCOS2d Android?(如何在 COCOS2d Android 中使用 CClistview?)...
2024-08-12 移动开发问题
5

cocos2d-android:如何显示分数
cocos2d-android: how to display score(cocos2d-android:如何显示分数)...
2024-08-11 移动开发问题
7

Sqlite 数据库未从资产文件夹 Android 复制
Sqlite database not copied from asset folder Android(Sqlite 数据库未从资产文件夹 Android 复制)...
2024-04-15 移动开发问题
8

SQLite 数据库副本在由设备而不是模拟器生成时出现损坏
SQLite Database Copy Appears Corrupted When Generated by Device and not Emulator(SQLite 数据库副本在由设备而不是模拟器生成时出现损坏)...
2024-04-15 移动开发问题
4

安卓文件拷贝
Android file copy(安卓文件拷贝)...
2024-04-15 移动开发问题
6

Android如何在android中检测Edittext的Copy事件
Android how to detect Copy event of Edittext in android(Android如何在android中检测Edittext的Copy事件)...
2024-04-15 移动开发问题
5