针对 API 23 启动时出现 Android Studio 2.1.1 模拟器错误

问题描述 投票:0回答:1

我正在学习Android编程的基础知识。我尝试模拟我的测试应用程序并收到以下错误。我正在使用 API 23 模拟器、Android 6.0 ( Marshmallow),并且在使用 Nexus 5 或 4 作为模拟器时遇到相同的错误。我该怎么办?

错误信息:

Cannot launch AVD in the emulator. Output: emulator: WARNING: VM heap size set below hardware specified minimum of 128MB init: Could not find wglGetExtensionsStringARB! emulator: WARNING: Setting VM heap size to 384MB getGLES1ExtensionString: Could not find GLES 1.x config! Hax is enabled Failed to obtain GLES 1.x extensions string! Hax ram_size 0x60000000 HAX is working and emulator runs in fast virt mode. Could not initialize emulated framebufferaudio: Failed to create voice `goldfish_audio_in' qemu-system-i386.exe: warning: opening audio input failed adb_server_notify: Failed to establish connection to ADB server console on port 5554, ADB on port 5555 emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
android android-studio emulation
1个回答
0
投票

将“图形”选项更改为“软件- GLES 2.0”对我有用。

© www.soinside.com 2019 - 2024. All rights reserved.