• android 模拟器


    参考: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
  • 相关阅读:
    《将博客搬至CSDN》
    关于数据分析师出路的思考
    什么样的人适合学金融工程?
    再谈到计算机网络的学习
    学习金融工程的随笔
    走上量化投资道路的回顾
    idea构建docker镜像并发布到服务器
    Elastic:菜鸟上手指南
    分布式事务专题
    mysql 慢查询日志分析与使用
  • 原文地址:https://www.cnblogs.com/openix/p/3696737.html
Copyright © 2020-2023  润新知