17 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
Run Code Online (Sandbox Code Playgroud)
怎么了?
she*_*hem 17
使用更多RAM重新安装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
Run Code Online (Sandbox Code Playgroud)
小智 7
此AVD所需的内存不应超过HAXM配置中指定的最大值.
去吧~\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager \intelhamx_android.exe.
重新安装intel HAXM并将其RAM设置为1024MB.
编辑你的AVD将其RAM设置为768MB.
构建并运行您的应用程序.
| 归档时间: |
|
| 查看次数: |
29368 次 |
| 最近记录: |