20

On my ubuntu 18.04, when I start android emulator:

$ANDROID_HOME/emulator/emulator -avd pixel
Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are 
enabled ((null):0, (null))
emulator: INFO: QtLogger.cpp:66: Warning: QXcbIntegration: Cannot create platform OpenGL 
context, neither GLX nor EGL are enabled ((null):0, (null))

Just standard Android workflow... I can't believe this is unic issue...

Andrew
  • 592
  • 1
  • 5
  • 17

2 Answers2

3

After comparing the previous emulator version files and the latest version, turns out that the new update has added Qt5webengine to the emulator. that may be the root of this problem. submit a bug report from inside android studio and it will hopefully be fixed by the upcoming updates.

EDIT : The issue has been resolved with the latest Emulator update 29.2.11.

lupin
  • 31
  • 4
1

Wiping device data solved it for me (Tools -> AVD Manager-> Actions column -> Wipe Data)

edit: on Ubuntu 18.04

Filip Pranklin
  • 345
  • 1
  • 3
  • 14
  • Did not work for me on Ubuntu 18.04. Wiping the data and even recreating the virtual device did not solve the problem. After restarting Android Studio everything worked fine again – dknaus Oct 30 '19 at 17:54