Android adb概述

本文基于Android官网对adb的描述和一个日本开发者分享的资料写出。

主要内容如下:

1. adb通信模型

2. adb 命令

3. 无线连接adb,非usb。

博客园不支持markdown,详文见:

Recently, I’m interesting how android adb works. If you are an Android programer, you certainly familiar with adb shell,adb logcat. Or maybe you only use eclipse, it is helpful to know behind DDMS there is adb.

 

ADB overview

We can find adb description from android developer website.

Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. It is a client-server program that includes three components:

As introducted by google, it has three key components.

  • A client, which runs on your development machine. You can invoke a client from a shell by issuing an adb command. Other Android tools such as the ADT plugin and DDMS also create adb clients.
  • A server, which runs as a background process on your development machine. The server manages communication between the client and the adb daemon running on an emulator or device.
  • A daemon, which runs as a background process on each emulator or device instance.

 

 

posted @ 2014-04-09 21:16  阿波zju  阅读(157)  评论(0编辑  收藏  举报