Failed to allocate memory: 1455

July 17, 2012

[2012-07-18 00:59:29 – Emulator] Failed to allocate memory: 1455
[2012-07-18 00:59:29 – Emulator]
[2012-07-18 00:59:29 – Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-07-18 00:59:29 – Emulator] Please contact the application’s support team for more information.

 

Edit the Device settings and change the RAM allocation to a lower number. I changed it to 512MB and the emulator starts working.

Advertisements

How to add a new Android Virtual Device (AVD) emulator

July 17, 2012

After all the installation and configurations as explained here Getting Started with Android Development. The next step is to add Android Virtual Device (AVD).
An AVD is a device configuration for the Android emulator that allows you to model different configurations of Android-powered devices.

To add a new device follow these steps.

  • Select Window > Android SDK and AVD Manager, or click the Android SDK and AVD Manager icon in the Eclipse toolbar
  • In the Virtual Devices panel, you’ll see a list of existing AVDs. Click New to create a new AVD. The Create New AVD dialog appears.
  • Enter the namef of your choice and just choose the options you want for your Android virtual device emulator.You can ignore other options for the moment
  • Click Create AVD button. and you will see the virtual device added in the list on the Android SDK and AVD Manager

You can add many Virtual devices here.
If there are more then once AVD’s specified, when Eclipse will run the project, it will ask you for the Target Virutal device version.
You can select from the listing option of your choice and click Ok.