参考: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连接AVDtelnet localhost 5554安装APK至AVD adb -s emulator-5554 install apk_name.apk 从AVD卸载APKadb -s emulator-5554 uninstall package_name

更多相关文章

  1. Pycharm安装PyQt5的详细教程
  2. Android(安卓)源码下载
  3. SJ64 拿起工具(Android(安卓)Studio)开始造轮子(贺卡App)
  4. Android开发环境搭建及入门相关
  5. Android(安卓)SDK中的必会工具-android
  6. android存储路径问题
  7. Android环境搭建(Windows)
  8. Android中的Interpolator
  9. Android源代码下载指南(图解)

随机推荐

  1. Android系统权限和root权限
  2. Android入门篇
  3. Android(安卓)源码修改按键长按响应间隔
  4. Android小趣
  5. Android(安卓)沉浸式statusbar (5.0以上无
  6. 【Android】WebView设置背景色
  7. Android(安卓)SDK 2.2 开发环境搭建
  8. [轉] android默认debug.keystore的密码
  9. android 如何依赖android:sharedUserId更
  10. Android(安卓)onActivityResult()不执行