"Android" Emulator command

Source: Internet
Author: User

Emulator-help command screen will display emulator related commands

Emulator-help > d:emulator.txt will output emulator related commands to the Emulator.txt file

Android Emulator usage:emulator [options] [-qemu args]
Options
-LIST-AVDS List Available AVDS
-sysdir <dir> Search for system disk images in <dir>
-system <file> Read initial system image from <file>
-datadir <dir> Write user data into <dir>
-kernel <file> Use specific emulated kernel
-ramdisk <file> ramdisk image (default <system>/ramdisk.img
-image <file> Obsolete, Use-system <file> instead
-initdata <file> Same as '-init-data <file> '
-data <file> data image (default <datadir>/userdata-qemu.img
-partition-size <size> system/data partition size in MBs
-cache <file> Cache partition image (default is temporary file)
-cache-size <size> Cache partition size in MBs
-no-cache Disable the cache partition
-nocache same As-no-cache
-sdcard <file> SD card image (default <system>/sdcard.img
-snapstorage <file> file contains all state snapshots (default <datadir>/snapshots.img)
-no-snapstorage does not mount a snapshot storage file (this disables all snapshot functionality)
-snapshot <name> name of snapshot within storage file for Auto-start and Auto-save (default ' Default-b Oot ')
-no-snapshot perform a full boot and does not does not auto-save, but Qemu Vmload and Vmsave operate on snap Storage
-no-snapshot-save do not auto-save to snapshot on Exit:abandon changed state
-no-snapshot-load don't auto-start from snapshot:perform a full boot
-snapshot-list show a list of available snapshots
-no-snapshot-update-time do don't do a try to correct snapshot time on restore
-wipe-data Reset the user data image (copy it from InitData)
-AVD <name> use a specific Android virtual device
-skindir <dir> Search Skins in <dir> (default <system>/skins)

-skin <name> Select a given skin
-no-skin don ' t use any emulator skin
-noskin same As-no-skin
-dynamic-skin dynamically construct a skin of given size, requires-skin WxH option
-memory <size> physical RAM size in MBs
-accel <mode> Configure emulation acceleration
-no-accel same as '-accel off '
-netspeed <speed> Maximum network download/upload speeds
-netdelay <delay> Network Latency emulation
-netfast Disable Network shaping
-code-profile <name> Enable code profiling
-show-kernel Display kernel messages
-shell enable root shell on the current terminal
-no-jni Disable JNI checks in the Dalvik runtime
-nojni same As-no-jni
-logcat <tags> enable Logcat output with given tags
-no-audio Disable Audio Support
-noaudio same As-no-audio
-audio <backend> Use specific audio backend
-raw-keys Disable Unicode keyboard reverse-mapping
-radio <device> REDIRECT Radio modem interface to character device
-port <port> TCP port that'll be used for the console
-ports <consoleport>,<adbport> TCP Ports used for the console and ADB bridge
-onion <image> Use overlay PNG image through 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
-tcpdump <file> Capture network packets to file
-bootchart <timeout> Enable bootcharting
-charmap <file> Use specific key Character Map
-prop <name>=<value> Set system property on boot

-shared-net-id <number> Join the shared network, using IP address 10.1.2.<number>
-GPU <mode> Set Hardware opengles emulation mode
-camera-back <mode> set emulation mode for a camera facing back
-camera-front <mode> set emulation mode for a camera facing front
-webcam-list lists web cameras available for emulation
-screen <mode> Set emulated screen mode
-force-32bit Always use 32-bit emulator
-selinux <disabled|permissive> Set SELinux to either disabled or permissive mode

-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-virtual-device Virtual Device Management
-help-sdk-images about disk images when using the SDK
-help-build-images about disk images when building Android
-help-all Prints all Help content

"Android" Emulator command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.