Android-08-adb命令

来源:互联网 发布:办公软件表格下载 编辑:程序博客网 时间:2024/06/04 18:14




MSDOC

    C:\Windows\System32>set path
        E:\desktop\Android_2\download\adt-bundle-windows-x86-20131030\sdk\platform-tools;
    C:\Windows\System32>adb
        adb命令详解

sdk/platform-tools/adb.exe

    adb devices [-l]                  - list all connected devices
    adb kill-server              - kill the server if it is running
    adb start-server             - ensure that there is a server running
    adb install xxx.apk 安装app
    adb install -s 设备名称  xxx.apk 安装app到指定设备
    adb uninstall <包名>
    adb push <local> <remote>    - copy file/dir to device
    adb pull <remote> [<local>]    - copy file/dir from device
    adb shell                    - run remote shell interactively,相当于远程连接到Linux系统,可使用Linux的shell
    Ctrl + F11  横屏竖屏切换

0 0
原创粉丝点击