我花了几天试图发起任何Android程序。即使是Hello World的给了我同样的错误:
I've spent days trying to launch any Android program. Even "Hello World" gives me the same error:
[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
任何人都可以帮忙吗?谢谢了!
Anyone can help? Thanks much!
尽量减少仿真器的内存大小
Try to reduce RAM size of an emulator
在Eclipse中
窗口 - > Android虚拟设备管理器
选择您的设备,并点击修改在窗口的右侧按钮
Select your device and click Edit button in right part of window
然后在内存选项 secton找到 RAM 参数,设置为 512 的为例。点击确定保存。现在试图重新调试你的应用程序
Then in Memory Options secton find RAM parameter and set it to 512 for example. Click OK for saving. Now try to re-debug your app