在命令行输入: emulator -help,即可显示emulator支持的所有命令。

Android Emulator usage:

emulator [options] [-qemu args]

options: 
    -sysdir <dir>                 在目录<dir>中搜索system.img 
    -system <file>                读取system.img文件<file>    
    -datadir <dir>                写入用户数据到目录 <dir> 
    -kernel <file>                使用指定内核kernel-qemu文件 
    -ramdisk <file>               指定ram 镜像文件ramdisk.img 
    -image <file>                  obsolete, use -system <file> instead 
    -init-data <file>              initial data image (default <system>/userdata.img 
    -initdata <file>               same as '-init-data <file>' 
    -data <file>                   data image 
                                   (default <datadir>/userdata-qemu.i 
mg 
    -partition-size <size>         分区大小MBs 
    -cache <file>                  cache.img 
    -no-cache                      禁止缓存 
    -nocache                       禁止缓存 
    -sdcard <file>                 sdcard.img 
    -wipe-data                     reset the use data image (copy it from initda 
ta) 
    -avd <name>                    使用指定AVD设备 
    -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 
    -memory <size>                 物理内存大小MBs 
    -netspeed <speed>              最大网速 
    -netdelay <delay>              网络延迟 
    -netfast                       disable network shaping 
    -trace <name>                  enable code profiling (F9 to start) 
    -show-kernel                   显示内核消息 
    -shell                         终端启用root shell 
    -no-jni                        disable JNI checks in the Dalvik runtime 
    -nojni                         same as -no-jni 
    -logcat <tags>                 查看日志 
    -no-audio                      disable audio support 
    -noaudio                       same as -no-audio 
    -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>                无线猫 
    -port <port>                   连接控制台的TCP端口. 
    -ports <consoleport>,<adbport> TCP ports used for the console and adb bridge

-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>                 窗口缩放 
    -dpi-device <dpi>              specify device's resolution in dpi (default 1 
65) 
    -http-proxy <proxy>            HTTP/HTTPS 代理 
    -timezone <timezone>           时区 
    -dns-server <servers>          DNS服务器 
    -cpu-delay <cpudelay>          throttle CPU emulation 
    -no-boot-anim                  disable animation for faster boot 
    -no-window                     disable graphical window display 
    -version                       版本 
    -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 
    -tcpdump <file>                记录网络数据包 
    -bootchart <timeout>           enable bootcharting 
    -prop <name>=<value>           设置系统属性

-qemu args...                 pass arguments to qemu 
     -qemu -h                      显示qemu帮助

-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                         帮助 
     -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                     帮助(所有)

-------------------------

模拟器至少需要: 
kernel-qemu 
ramdisk.img 
system.img 
userdata.img

还可以包括: 
sdcard.img 
userdata-qemu.img 
cache.img 
system-qemu.img

转: android emulator 命令详解的更多相关文章

  1. android adb 命令详解

    ADB (Android Debug Bridge)  是android SDK中的工具,需要先配置环境变量才能使用.起调试桥的作用,可以管理安卓设备.(也叫debug工具) ---------查看设 ...

  2. Android ADB命令详解

    adb的全称为Android Debug Bridge.是android司机经常用到的工具 . 你能在本篇文章中学到什么? adb基本指令 Shell AM&PM adb模拟用户事件 logc ...

  3. Android logcat命令详解

    一.logcat命令介绍 1.android log系统 2.logcat介绍 logcat是android中的一个命令行工具,可以用于得到程序的log信息 log类是一个日志类,可以在代码中使用lo ...

  4. Android pm 命令详解

    一.pm命令介绍与包名信息查询 1.pm命令介绍 pm工具为包管理(package manager)的简称 可以使用pm工具来执行应用的安装和查询应用宝的信息.系统权限.控制应用 pm工具是Andro ...

  5. adb shell 命令详解,android

    http://www.miui.com/article-275-1.html http://noobjava.iteye.com/blog/1914348 adb shell 命令详解,android ...

  6. Android ADB命令教程二——ADB命令详解

    Android ADB命令教程二——ADB命令详解 转载▼ 原文链接:http://www.tbk.ren/article/249.html       我们使用 adb -h 来看看,adb命令里面 ...

  7. adb shell 命令详解,android, adb logcat

    http://www.miui.com/article-275-1.html http://noobjava.iteye.com/blog/1914348 adb shell 命令详解,android ...

  8. Android Studio系列教程五--Gradle命令详解与导入第三方包

    Android Studio系列教程五--Gradle命令详解与导入第三方包 2015 年 01 月 05 日 DevTools 本文为个人原创,欢迎转载,但请务必在明显位置注明出处!http://s ...

  9. Android的logcat命令详解

    前言          欢迎大家我分享和推荐好用的代码段~~ 声明          欢迎转载,但请保留文章原始出处:          CSDN:http://www.csdn.net        ...

随机推荐

  1. 2017中国大学生程序设计竞赛 - 女生专场A【模拟】

    A HDU - 6023 [题意]:求AC题数和总时长. [分析]:模拟.设置标记数组记录AC与否,再设置错题数组记录错的次数.罚时罚在该题上,该题没AC则不计入总时间,AC则计入.已经AC的题不用再 ...

  2. 线段树+扫描线【HDU1542】Atlantis

    Description 给定一些二维空间上的矩形,求它们的面积并. 一道线段树+扫描线的板子题 然而即使我会打了,也不能灵活运用这种算法.QAQ 遇到题还是不太会. 但是这种板子题还是随随便便切的. ...

  3. luogu P1824 进击的奶牛

    题目描述 Farmer John建造了一个有N(2<=N<=100,000)个隔间的牛棚,这些隔间分布在一条直线上,坐标是x1,...,xN (0<=xi<=1,000,000 ...

  4. 【记忆化搜索】bzoj3208 花神的秒题计划Ⅰ

    暴力 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; #de ...

  5. 检测密码 Exercise06_18

    import java.util.Scanner; /** * @author 冰樱梦 * 时间:2018年下半年 * 题目:检测密码 * */ public class Exercise06_18 ...

  6. Problem B: 调用函数,求1!+2!+3!+......+10!

    #include<stdio.h> double fact(int i); int main() { int i; ; ;i<=;i++) sum=sum+fact(i); prin ...

  7. Mybatis通过ID查询 && 通过name模糊查询

    接上篇:Mybatis环境搭建 在搭建环境时已经有了mapper和sqlMapConfig 1,数据库建表 prompt PL/SQL Developer import file prompt Cre ...

  8. iOS开发 Swift开发数独游戏(五)显示游戏答案

          要点是设置好Tag就好,通过代码找到并初始化即可. 1: // 2: // ShowAnswerController.swift 3: // sudoku-v02 4: // 5: // ...

  9. 【POI】对于POI无法处理超大xls等文件,官方解决方法【已解决】【多线程提升速率待定】

    本次使用POI处理xlsx文件,莫名的遇到了一个无法逾越的问题. 总共71个xlsx文件,单个文件最大达到50M以上,71个xls文件摆在那里就有3-4G的大小. 在起始处理的时候,发现原本适用于正常 ...

  10. IE11快捷键 双击没反应的解决办法

    WIN + R,regedit,找到 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main 对左侧树Main节点右键——权限. 正常情 ...