android - 模拟器 : Warning: QXcbIntegration

标签 android android-emulator

当我从 Android Studio 运行 Android Emulator 时,我收到此警告:

Emulator: Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))



这个警告以前没有出现过。这个警告是为了什么,我应该忽略它吗?它的修复方法是什么?

最佳答案

hw.gpu.mode = host它似乎与硬件 OpenGLES 仿真一起运行:

emulator: CPU Acceleration: working
emulator: CPU Acceleration status: KVM (version 12) is installed and usable.
Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
...

emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: VERBOSE: emulator-qt-window.cpp:2824: setUIMultiDisplay id 0 0 0 1080 2220 add

要么等到下一个版本的模拟器发布 - 要么降级 < 29.2.1 .

关于android - 模拟器 : Warning: QXcbIntegration,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58189565/

相关文章:

android - SlidingMenu 无法突出显示所选项目

android - 在 eclipse 中运行对 android 没有响应

java - 如何使用 Thread 像 switch 一样工作

android - 谷歌地图在 Release模式下未在 Android 上显示

android - 如何在 Android 中以编程方式加载布局 XML 文件?

android - "R cannot be resolved"可能有错误的构建路径或库导入

android - 应用程序无法在 Android 模拟器上运行

android - fragment : which callback invoked when press back button & customize it

java - 获取此异常,迫使 Android 应用程序在启动时崩溃

Android Studio 内存使用 Ubuntu 16