本文介绍了Android Studio中的HAXM配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图从GitHub运行一个简单的Android聊天应用程序.我认为我的HAXM配置有问题.当我运行该应用程序时,我看到以下错误:
I tried to run a simple Android chat app from GitHub. I think there's a problem with my HAXM configuration. When I run the app I see these errors:
HAXM is not working and emulator runs in emulation mode
emulator The memory needed by this AVD exceeds the max specified in your HAXM configuration.
emulator: AVD RAM size = 1536 MB
emulator: HAXM max RAM size = 768 MB
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
emulator: warning: opening audio output failed creating window 61 83 462 820
emulator: emulator window was out of view and was recentered
怎么了?
推荐答案
您的HAXM RAM低于您的AVD RAM.
your HAXM RAM is lower than your AVD RAM.
解决方案:
- 重新运行HAXM安装并增加RAM以与AVD(仿真器)相匹配.
- 或者,减少AVD(仿真器)的RAM以匹配HAXM.
这篇关于Android Studio中的HAXM配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!