Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot set up guest memory 'android_arm': Invalid argument

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!

like image 526
Azheng Avatar asked Oct 29 '14 00:10

Azheng


1 Answers

Try to reduce RAM size of an emulator

In Eclipse

Window -> Android Virtual Device Manager

Select your device and click Edit button in right part of window

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

like image 138
Mark Zucchini Avatar answered Oct 12 '22 07:10

Mark Zucchini