问题描述
我遇到了新的 Android Emulator 27.0.2 的问题.模拟器无法启动.重新安装模拟器sdk后,首次启动emu会成功,但是第二次启动都不会成功.
I have the problem with new Android Emulator 27.0.2. Emulator won't starts. First launch of emu is successful after emulator sdk reinstall, but every second launch is unsuccessful.
冷启动没有帮助,仿真性能: 图形:软件-GLES 2.0 选项更改在虚拟设备配置上无济于事.用于Intel HD 4400的视频驱动程序是最新的,重新安装没有帮助.
Cold boot of virtual device not helps, Emulated performance: Graphics: Software - GLES 2.0 option change at virtual device configuration not helps. Video driver for Intel HD 4400 is latest, reinstall not helps.
-
9:02 Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!
-
9:02 Emulator: Failed to obtain GLES 2.x extensions string!
-
9:02 Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
-
9:02 Emulator: Process finished with exit code -1073741819 (0xC0000005)
9:02 Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!
9:02 Emulator: Failed to obtain GLES 2.x extensions string!
9:02 Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
9:02 Emulator: Process finished with exit code -1073741819 (0xC0000005)
推荐答案
对我来说,解决方案是将 buildToolsVersion 更改为当前版本.就我而言:
The solutions for me was to change buildToolsVersion for current version. In my case for:
android {
buildToolsVersion '27.0.2'
}
在应用级别 build.gradle
in app-level build.gradle
这篇关于Windows-getGLES2ExtensionString:找不到GLES 2.x配置;退出代码-1073741819(0xC0000005)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!