当我从Android Studio运行Android Emulator时,出现以下警告:



此警告以前未出现。此警告的含义是什么,我是否应该忽略它?解决方法是什么?

最佳答案

使用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/

10-08 22:53