繁体   English   中英

无法在Android Studio 2.1上启动模拟器

[英]Unable to start emulator on Android Studio 2.1

我无法在Android Studio 2.1上启动模拟器,并出现以下错误

Cannot launch AVD in emulator.
Output:
emulator: WARNING: Increasing RAM size to 1024MB
init: Could not find wglGetExtensionsStringARB!
getGLES1ExtensionString: Could not find GLES 1.x config!
emulator: WARNING: VM heap size set below hardware specified minimum of 48MB
Failed to obtain GLES 1.x extensions string!
emulator: WARNING: Setting VM heap size to 256MB
Hax is enabled
Hax ram_size 0x40000000
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
console on port 5554, ADB on port 5555
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

AVD控制台中出现相同的错误

我正在尝试使用以下配置运行: 仿真器配置

我的android-studio具有以下详细信息 关于android studio

任何帮助将不胜感激。

我遇到了同样的问题,这就是我解决的方法

  1. 选择您的AVD管理员
  2. 从虚拟设备列表中选择您的设备
  3. 点击编辑此设备信息
  4. 点击显示高级设置
  5. 将Ram大小更改为1 GB,然后单击完成
  6. 启动模拟器

步骤1:尝试启用设备框架。 (这对我有用。)
步骤2:如果这不起作用,则将版本更改为棒棒糖,或尝试提供Ram 2Gb。
步骤3:如果仍然无法解决问题,请将图形更改为软件,而不是自动。

注意:创建新的虚拟设备时,请检查右侧是否下载了Hax文件。

选择AVD管理器编辑虚拟设备选择图形到Software-GLES 2.0

  • 从Android Studio中打开Windows->选择Android虚拟设备管理器->选择设备->单击编辑按钮->在内存选项->保存中将RAM参数更改为512 Mb,然后保存并运行模拟器
  • 另外,您可以使用Genymotion Android Vm: https ://www.genymotion.com/?utm_source = dlvr.it & utm_medium = twitter#!/download

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM