zoukankan      html  css  js  c++  java
  • Android_adb详解

    adb定义:
    adb(android debug bridge)是android系统中的一种命令行工具,通过它可以和android设备或模拟器通信。

    adb工具位置:

    <path-to-sdk>/tools/adb

    adb源码位置:

    <path-to-sourcecode>/system/core/adb

    adb组成及实现原理:

    adb本身是一个客户端服务器应用程序,由3个组件组成,Client, Server, Daemon,如下图
    Android_adb详解

    Android_adb详解

    adb命令格式:
    adb [-d|-e|-s <serialNumber>] <command>

    adb命令分类:

    Target device:-d/-e/-s <serialNumber>

    General:devices/help/version

    Debug:logcat [option] [filter-specs]/bugreport/jdwp

    Data:install <path-to-apk>/pull <remote> <local>/push <local> <remote>

    Ports and Networking:forward <local> <remote>/ppp <tty> [parm]...

    Scripting:get-serialno/get-state/wait-for-device

    Server:start-server/kill-server

    Shell:shell/shell [shellCommand]

  • 相关阅读:
    __file__ 作用以及模块导入方法
    random 模块
    time 模块
    module模块和包
    装饰器
    python闭包
    filter map reduce函数的使用
    python文件处理
    python内置函数使用
    函数
  • 原文地址:https://www.cnblogs.com/BlogNetSpace/p/3966543.html
Copyright © 2011-2022 走看看