Android/Adb

From OLPC
< Android
Revision as of 22:57, 14 April 2014 by YouxinSu (talk | contribs)
Jump to navigation Jump to search

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:

 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.

You can find the adb tool in <sdk>/platform-tools/. Where to download Android SDK

On XO-4 since we only has USB host port, the way of using ADB is a little different form topic Android device. We use ADB via WIFI instead of via USB.

First make sure the deamon on your XO-4 is enabled.

  Settings->Developer optionsHow to enable developer options->USB debugging




See also