このエントリーをはてなブックマークに追加
>> 開発>> SDK>> ツール

emulatorコマンド

緑色のアイコンです。 Androidエミュレターを起動します

起動まで多少時間かかります よく使うオプションのbatファイル作成すると便利かも

使い方

emulator <オプション>

オプション一覧

-sdcard(SDカードをマウント)

-sdcardの後に、仮想SDカードを指定してマウントします。 例 -sdcard C:UsersakiDocumentssd.img

仮想SDカードはmksdcardコマンドで作成します。

Helpメッセージ

Android Emulator usage: emulator [options] [-qemu args]
  options:
    -system <dir>            read system image from <dir>
    -datadir <dir>           write user data into <dir>
    -kernel <file>           use specific emulated kernel
    -ramdisk <file>          ramdisk image (default <system>/ramdisk.img
    -image <file>            system image (default <system>/system.img
    -initdata <file>         initial data image (default <system>/userdata.img
    -data <file>             data image (default <datadir>/userdata-qemu.img
    -cache <file>            cache partition image (default is temporary file)
    -nocache                 disable the cache partition
    -sdcard <file>           SD card image (default <system>/sdcard.img
    -wipe_data               reset the use data image (copy it from initdata)
    -skindir <dir>           search skins in <dir> (default <system>/skins)
    -skin <file>             select a given skin
    -noskin                  don't use any emulator skin
    -netspeed <speed>        maximum network download/upload speeds
    -netdelay <delay>        network latency emulation
    -netfast                 disable network shaping
    -trace <name>            enable code profiling (F9 to start)
    -show_kernel             display kernel messages
    -shell                   enable root shell on current terminal
    -nojni                   disable JNI checks in the Dalvik runtime
    -logcat <tags>           enable logcat output with given tags
    -noaudio                 disable audio support
    -audio <backend>         use specific audio backend
    -audio_in <backend>      use specific audio input backend
    -audio_out <backend>     use specific audio output backend
    -raw_keys                disable Unicode keyboard reverse-mapping
    -radio <device>          redirect radio modem interface to character device
    -port <port>             TCP port that will be used for the console
    -onion <image>           use overlay PNG image over screen
    -onion_alpha <%age>      specify onion-skin translucency
    -onion_rotation 0|1|2|3  specify onion-skin rotation
    -scale <scale>           scale emulator window
    -dpi_device <dpi>        specify device's resolution in dpi (default 165)
    -http_proxy <proxy>      make TCP connections through a HTTP/HTTPS proxy
    -timezone <timezone>     use this timezone instead of the host's default
    -dns_server <servers>    use this DNS server(s) in the emulated system
    -cpu_delay <cpudelay>    throttle CPU emulation
    -no_boot_anim            disable animation for faster boot
    -no_window               disable graphical window display
    -version                 display emulator version number
    -report_console <socket> report console port to remote socket
    -gps <device>            redirect NMEA GPS to character device
    -keyset <name>           specify keyset file name
    -shell_serial <device>   specific character device for root shell
    -old_system              support old (pre 1.4) system images

     -qemu args...           pass arguments to qemu
     -qemu -h                display qemu help

     -verbose                same as '-debug-init'
     -debug <tags>           enable/disable debug messages
     -debug-<tag>            enable specific debug messages
     -debug-no-<tag>         disable specific debug messages

     -help                   print this help
     -help-<option>          print option-specific help

     -help-disk-images       about disk images
     -help-keys              supported key bindings
     -help-debug-tags        debug tags for -debug <tags>
     -help-char-devices      character <device> specification
     -help-environment       environment variables
     -help-keyset-file       key bindings configuration file
     -help-all               prints all help content

関連サイト
www.akjava.com | github.com/akjava
Copyright (C) 2008-20014 Aki Miyazakion Google+ All Rights Reserved.