android开发常见命令操作(需要配置adb.exe的环境变量)

来源:互联网 发布:万网域名注册查询网 编辑:程序博客网 时间:2024/06/15 06:00
adb devices 列出所有的设备
adb start-server 开启adb服务

adb kill-server  关闭adb服务

adb logcat  查看Log
adb shell  挂载到Linux的空间
adb install <应用程序(加扩展名)>   安装应用程序

adb  –s <模拟器名称>  install <应用程序(加扩展名)>  安装应用到指定模拟器
adb uninstall <程序包名>
adb pull <remote> <local>
adb push <local> <remote>

emulator –avd <模拟器名称>

adb shell monkey -p <应用程序包名> -v事件数量 压力测试

ctrl + F11 横竖屏的切换 
0 0
原创粉丝点击