我遇到了这个问题,但我没有在互联网上找到解决方案。 我打开avd管理器,并在设备nexus 2中使用android Q创建android模拟器。 当我播放设备时,出现此错误,我尝试过的很多事情都卡住了
20:01 Emulator: Warning: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.android-studio', please create it with 0700 permissions. ((null):0, (null))
20:01 Emulator: Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
20:01 Emulator: emulator: ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037
20:01 Emulator: emulator: ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037
20:02 Emulator: pulseaudio: pa_context_connect() failed
20:02 Emulator: pulseaudio: Reason: Connection refused
20:02 Emulator: pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
请帮助我解决此问题,我使用ubuntu 19.10 我的规格笔记本电脑是 英特尔i5-7200u 8 GB RAM NVIDIA 940mx