android - android studio中的HAXM配置

标签 android android-activity haxm

我尝试从 GitHub 运行一个简单的 Android 聊天应用程序。我认为我的 HAXM 配置有问题。当我运行应用程序时,我看到这些错误:

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:

sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -u
sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -m 1024

关于android - android studio中的HAXM配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32366511/

相关文章:

java - 如何通过容器 View 重新显示和恢复以前添加的 fragment

android - 游标线程在 Android 中是否安全

android - 如果我在Firebase身份验证中使用Facebook登录,为什么我的currentUser始终为null?

android - 使用 picasso : out of memory exception 从 firebase 存储下载图像

android - 旋转时从错误的资源文件夹中提取的可绘制对象

java - Android:java.lang.ClassCastException:com.android.layoutlib.bridge.android.BridgeContext 无法转换为 android.app.Activity”

c# - WPF如何有效检测用户 Activity

android - 无法安装 Intel HAXM

android-studio - 带有Windows的android studio 3.0中的Haxm错误需要数字签名的驱动程序

android - 安装 HAXM 后 Windows 8.1 上反复出现蓝屏