我花了几天时间尝试启动任何 Android 程序。甚至“Hello World”也给我同样的错误:
[2014-10-28 18:07:14 - android19] Android Launch!
[2014-10-28 18:07:14 - android19] adb is running normally.
[2014-10-28 18:07:14 - android19] Performing com.example.android19.MainActivity activity launch
[2014-10-28 18:07:14 - android19] Automatic Target Mode: launching new emulator with compatible AVD 'first'
[2014-10-28 18:07:14 - android19] Launching a new emulator with Virtual Device 'first'
[2014-10-28 18:07:43 - Emulator] Cannot set up guest memory 'android_arm': Invalid argument
有人可以帮忙吗?非常感谢!
最佳答案
尝试减少模拟器的 RAM 大小
在 Eclipse 中
窗口 -> Android 虚拟设备管理器
选择您的设备并点击窗口右侧的编辑按钮
然后在Memory Options 部分找到RAM 参数并将其设置为512 例如。单击确定 进行保存。现在尝试重新调试您的应用
关于java - 无法设置 guest 内存 'android_arm' : Invalid argument,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26620765/