Android 开发 Creates a new Android Virtual Device


        Creates a new Android Virtual Device.
Options:
  -c --sdcard  : Path to a shared SD card image, or size of a new sdcard for
                 the new AVD.
  -n --name    : Name of the new AVD. [required]
  -a --snapshot: Place a snapshots file in the AVD, to enable persistence.
  -p --path    : Directory where the new AVD will be created.
  -f --force   : Forces creation (overwrites an existing AVD)
  -s --skin    : Skin for the new AVD.
  -t --target  : Target ID of the new AVD. [required]
  -b --abi     : The ABI to use for the AVD. The default is to auto-select the
                 ABI if the platform has only one ABI for its system images.

用DOS命令创建AVD,打开DOS窗口定位到tools目录下:

android create avd -n<name> -t<targetID> <options>

android create avd -n MyAndroid -t 8 -c d:/sdcard.img 

 

先创建SDcard  mksdcard 256M d:/sdcard.img

posted @ 2012-03-09 16:57  Liu Siyuan  阅读(629)  评论(0)    收藏  举报