22

What settings for the Android emulator will as closely simulate the characteristics of the Galaxy Nexus as possible?

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
Albert078
  • 363
  • 1
  • 3
  • 6
  • 2
    there aren't that many settings available on the emulator. Just choose the right amount of memory and the right Android platform. – ethan Dec 19 '11 at 19:11
  • The option for hardware back/home:no is kind of important for some applications. – Garnet Ulrich Jan 28 '12 at 22:07
  • For different density emulators see here: http://blog.blundell-apps.com/emulator-settings-for-each-android-density/ – Blundell Jun 08 '12 at 13:46

1 Answers1

67

Here's a try:

  • Target: Google APIs - API Level 15
  • Skin: Built-in WXGA720

Selecting skin sets the following hardware parameters, leave them as-is:

  • Hardware Back/Home: no
  • Abstracted LCD density: 320
  • Keyboard lid support: no
  • Max VM application heap size: 48
  • Device ram size: 1024

Galaxy Nexus has no SD card, just internal memory. Distinction between internal and external storage is important and can affect apps. To simulate this:

  • add SD Card support=no parameter;
  • launch emulator with -partition-size 1024 for 1GB internal memory, or use some other means to increase amount of internal memory available;

If you're working on camera apps, you'll also want to set correct number of cameras, and correct resolution.

Pēteris Caune
  • 43,578
  • 6
  • 59
  • 81
  • 2
    most of these options are preselected for you – AndrewPK Jan 02 '12 at 18:29
  • 4
    man i followed these specs and had it working just last week. now when i go to use these settings i keep getting Failed to allocate memory: 8 no matter how much memory i specify for it. what gives..... – topwik Jul 24 '12 at 19:50