扩充Android模拟器分区大小的方法
来源:互联网 发布:数据库审计系统排行 编辑:程序博客网 时间:2024/06/02 10:49
如果是通过命令行启动,可以在执行emulator命令时添加-partition-size 256,把system分区扩大为256MB,也可在eclipse中设置-partition-size 256,另外,emulator的常用参数还有:-scale 0.8模拟器大小设置为皮肤大小的0.8倍;-skin SKINNAME指定模拟器启动时选取的皮肤。
附录:emulator常用参数
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.img
-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 initdata)
-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 165)
-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-qemuLinux内核文件
ramdisk.imgAndroid文件系统镜像
system.img 文件系统system目录镜像,其中包含lib,bin等目录。
userdata.img 文件系统data目录镜像
还可以包括:
sdcard.imgsdcard镜像
userdata-qemu.img
cache.img缓存镜像,其在文件系统中挂载在/cache目录。
system-qemu.img
- 扩充Android模拟器分区大小的方法
- Linux 下扩充根分区分区的大小
- HPUX扩充文件系统分区的方法
- 永久改变android 模拟器分区大小
- ubuntu10.04 虚拟机再次扩充分区大小
- 扩充模拟器的ROM空间
- 虚拟xp扩充C盘大小的方法
- 云平台中虚拟机实例 root分区大小的自动扩充
- 修改Android模拟器RAM大小方法
- 扩展Android模拟器的System分区空间
- 扩展Android模拟器的System分区空间
- 扩展Android模拟器的System分区空间
- 扩展Android模拟器的System分区空间
- 扩充canvas的方法
- android分区大小的修改说明(RK)
- android系统分区大小设置的经验值
- android系统分区大小设置的经验值 .
- 设置android模拟器大小
- ASP.NET中 App_GlobalResources 的使用方法
- 学习Windows 编程,从MSDN翻译开始--1
- 工作汇报
- Linux tar 命令去掉要压缩目录中的某个文件夹
- 我理解的封装继承和多态
- 扩充Android模拟器分区大小的方法
- displaytag1.2配置
- 交换机的连接方式详解(图)
- 怎样得积分
- EDA相关
- Software Test Automation - Best Practices
- 岁月不饶人,09年是第一拨90后奔二的一年
- linux 连接无线网络 (终端tty连接)
- AHK Read a variable from lua