问题描述
我在使用新的 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 模拟器:getGLES2ExtensionString:找不到 GLES 2.x 配置!
9:02 模拟器:无法获取 GLES 2.x 扩展字符串!
9:02 模拟器:模拟器:错误:无法初始化 OpenglES 模拟,请使用-gpu off"禁用它.
9:02 模拟器:进程完成,退出代码 -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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!