Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
552 views
in Technique[技术] by (71.8m points)

emulation - How can I configure the Android emulator to simulate the Galaxy Nexus?

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...