adb的经常使用命令(android debud bridge)

android调试桥: adb命令使用须要在系统环境遍历中path中追加adb.exe的完整路径D:IDEadt-bundle-windows-x86-20130729sdkplatform-tools

adb devices 列出全部的设备   ---当adb.exe没有开启的时候。开启



adb start-server 开启adb服务   DDMS的reset是吧adb.exe杀掉再次开启


adb kill-server关闭adb服务


adb logcat 查看Log


adb shell 挂载到Linux的空间   而且进入手机根文件夹


    #在linux在代表超级用户权限

    $代表普通用户权限

    ls ---查看当前目录




进入mnt文件夹







adb install <应用程序(加扩展名)> 安装应用程序




adb uninstall <程序包名>




多个虚拟机启动的时候安装:




 



adb pull <remote> <local> 文件

adb push <local> <remote> 存文件




emulator –avd <模拟器名称>
须要在path中配路径

ctrl + F11 横竖屏的切换 



原文地址:https://www.cnblogs.com/liguangsunls/p/7258913.html