Android-08-adb命令

Android-08-adb命令_第1张图片




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  横屏竖屏切换

你可能感兴趣的:(android,adb命令)