All Board Android ADB

Document created by jesseg Employee on Aug 3, 2012Last modified by Jodi Paul on Mar 12, 2013
Version 3Show Document
  • View in full screen mode

ADB


ADB is a tool for Android debugging. With ADB, you can install applications from you PC, copy files to/from your device, access console. You can access your device using an USB Cable, or through network (using an IP address).

 

You can take ADB from SDK [1] or inside <my_android>/out/host/linux-x86/bin/adb

 

I cannot see my device

  1. First checkpoint must be for ADBD. It´s the ADB daemon, and if it´s not running on your device, you will not be able to access it.
  2. Install and configure any USB driver [2] [3]
  3. Double check connection (USB cable, ethernet)
  4. Double check if debugging is on
  5. Double check if USB config is right (see how on User Guide)

 

Tips and Tricks


Turning on

 

Remember to turn debugging mode on:

Settings->Applications->Development->USB debugging

No Permission

When you get "no permissions" from ADB, you need to start server with your root user:

$ sudo /usr/share/android-sdk-linux_86/tools/adb devices

List of devices attached

????????????    no permissions

$ sudo /usr/share/android-sdk-linux_86/tools/adb shell

error: insufficient permissions for device

$ sudo /usr/share/android-sdk-linux_86/tools/adb kill-server

$ sudo /usr/share/android-sdk-linux_86/tools/adb start-server

* daemon not running. starting it now *

* daemon started successfully *

$ sudo /usr/share/android-sdk-linux_86/tools/adb devices

List of devices attached

0123456789ABCDEF    device

$ sudo /usr/share/android-sdk-linux_86/tools/adb shell

# ls

dev

etc

Attachments

    Outcomes