android 模拟器
2014-04-28 16:48
190 查看
参考:http://www.syscs.com/node/504
列出本机安装的sdk android list packages 创建 Android Virtual Device ---- AVD anroid create avd -n JerryTest -t 1 --skin WVGA800 -sdcard 1000M 删除 AVD android delete avd -n JerryTest 启动AVD emulator -avd JerryTest -scale 96dpi -dpi-device 217 -no-boot-anim -wipe-data -avd JerryTest : e.g. specify the AVD you want to load and run. -scale 96dpi: e.g. the resolution of the fonts being used on your screen (this is the default on gnome) -dpi-device 217: the dpi for the device you are emulating (you can go to www.gsmarena.com and lookup the device you are trying to emulate... and most likely gawk (no, not GNU awk) a bit at all the pretty devices) -no-boot-anim: get rid of the boot animation although even with this, I noticed the start up time is quite slow... perhaps reducing that SD card size would help!! -wipe-data: wipe the previous emulation's stored data - you may not want this option if you want your testing and debugging session to pick up where you left off last time telnet连接AVD telnet localhost 5554 安装APK至AVD adb -s emulator-5554 install apk_name.apk 从AVD卸载APK adb -s emulator-5554 uninstall package_name
相关文章推荐
- Android 模拟器快捷键
- android 模拟器 使用键盘的配置
- Android开发:新建Android Application,src和layout文件夹为空(含新建模拟器及模拟器异常问题解决)
- Arcgis api for android在模拟器上运行出错
- android 模拟器命令
- 一个爆android自带模拟器10条街的神器——Genymotion的配置
- android 运行模拟器提示 INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android开发——上传文件到模拟器
- android之模拟器访问外网设置
- 在Android模拟器中部署apk文件
- 在Android(OPhone)模拟器中加载和使用SDCard卡(好!)
- Android 模拟器大小设置
- Android开发模拟器报错问题解决“The Connection to adb is down,and a server error has occured”
- android-模拟器的sdcard中安装软件(1)
- Android 开发入门问题集:启动模拟器、安装卸载apk、项目调试、导入Android sample
- Android如何区别真机和模拟器
- android 横竖屏切换 分辨率大小设置的模拟器
- eclipse搭建Android运行模拟器
- [Android]Eclipse连不上模拟器的问题[emulator-5554 disconnected]
- Android 【真机】与【模拟器】触摸屏事件的模拟差异分析