本文介绍了需要帮助正确地模仿三星GALAXY Nexus与AVD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作,以确保我的应用程序是越来越对ICS正确使用流行的Galaxy Nexus的,以此为基础进行测试。我想效仿尽可能忠实。

我创建了一个AVD以下参数(从的config.ini)。这是使用GUI(disk.dataPartition.size是一款基于其他物品手工编辑的参数我读过),主要是创建。内存值可能偏低,但对我来说,此刻是不是导致问题。

由于设备没有外部SD卡,我说不hw.sdCard,但我显然没有看到在的/ mnt / scdcard(同/ SD卡),不能写它(ISN重新安装任何东西'T的问题AFAIK:即安装不存在的话)

我测试过这几个不同的方式,包括来自亚洲开发银行的外壳。而且,是的,我已经搜查了这里的答案......很多这种设置是根据答案此相关的问题,最终导致我使用disk.dataPartition.size作为等同于命令行选项(按的本网站)。

编辑:如果我设置hw.sdcard为是的,它给了我一个SD卡的工作,但我不知道这是去这个(假设在这个版本的一个正确的方法正确的方法仿真器)。另外,这并没有真正与实际外部SD卡模拟的ICS设备时帮助...

所以,(因为我实际上并不有Galaxy Nexus的一起工作):

  • 我会看到内部的SD卡区域和安装点(到/ mnt / SD卡,/ SD卡,这两者或别的东西吗?)
  • 我可以做什么,以仿真SD卡正确(因为它不是一个真正的SD卡本身)?
  • 奖励:唉,要是我也有设备上看到的的物理SD卡 /移动(如在蜂窝)?别的东西?
解决方案

下面是参数:

 分辨率:720×1280
抽象液晶密度:316
最大VM应用程序堆大小:48
设备的RAM大小:1024
 

在创建我的AVD我把:

 名称:Nexus_480x800HDPI
目标:安卓4.0.3  -  API等级15
SD卡 - 尺寸:256 MIB
快照:X启用
皮肤:X内置的WVGA800
 

对于我来说,只是工作很好。

在这里你还可以找到一些进一步的信息:http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations

我希望这帮助你。

I'm working to ensure my app is getting tested on ICS properly using the popular Galaxy Nexus as a basis. I'd like to emulate it as faithfully as possible.

I've created an AVD with the following parameters (from config.ini). This was mostly created using the GUI (disk.dataPartition.size is a hand-edited param based on other articles I've read). The memory values may be on the low side but that's not causing a problem for me at the moment.

Since the device had no external sdcard I've said "no" for hw.sdCard, but I'm clearly not seeing anything in the /mnt/scdcard (same as /sdcard) and cannot write to it (remounting isn't the issue AFAIK: that mount doesn't exist at all).

I've tested this a few different ways, including from the adb shell. And, yes, I've searched for an answer here... much of this setup is based on answers to this related question, which eventually led me to use disk.dataPartition.size as the equivalent to the command line option (per this site).

Edit: if I set hw.sdcard to yes it gives me an sdcard to work with, but I wonder if this is the correct way to go about this (assuming there IS a correct way within this version of the emulator). Plus, this doesn't really help when emulating an ICS device with an actual external sdcard...

So (since I don't actually have a Galaxy Nexus to work with):

  • What would I see for the internal "sdcard" area and mount point(/mnt/sdcard, /sdcard, both, or something else?)
  • What might I do to emulate that "sdcard" correctly (since it's not really an sdcard per se)?
  • Bonus: What would I also see on a device with a physical sdcard? /Removable (like in Honeycomb)? Something else?

解决方案

Here are the parameters:

Resolution : 720 x 1280
Abstracted LCD density : 316
Max VM application heap size : 48
Device ram size : 1024

When creating my AVD I put:

Name: Nexus_480x800HDPI
Target: Android 4.0.3 - API Level 15
SD Card - Size: 256 MiB
Snapshot: x Enabled
Skin: x Built-in: WVGA800

For me it is just working nicely.

Here you may also find some further info:http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations

I hope this help you.

这篇关于需要帮助正确地模仿三星GALAXY Nexus与AVD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 08:42