Posts Tagged ‘adb’

ADB Over WiFi

July 23, 2013

This assumes that you have your phone in developer mode, that it is attached to your computer using a USB cable and that it is accessible from the computer through

Switch to wireless ADB by running (on the computer):
adb tcpip 5555
adb connect

Switch back to wired by running:
adb usb

Read more here.

Android LogCat

June 12, 2013

The main logging infrastructure on android — LogCat — is essentially a circular buffer (of limited size) stored in /dev/log/main. Debugging tools can sip into it. In order to keep a longer sequence of entries it needs to be connected to adb or a similar system. Apps like alogcat can display the log without having some other computer tethered.

Details are available on this blog.

ADT: The connection to adb is down, and a severe error has occured

May 10, 2013

The Android Developer Tools (ADT) version of Eclipse has a so-called “Android Virtual Device Manager”, available through the “Window” menu. It essentially holds a list of virtual device configurations. A highlighted configuration can be started.

If no configuration is started, running an application will result in the following error message:

[2013-05-10 13:54:45 - MyFirstApp] Android Launch!
[2013-05-10 13:54:45 - MyFirstApp] The connection to adb is down, and a severe error has occured.
[2013-05-10 13:54:45 - MyFirstApp] You must restart adb and Eclipse.
[2013-05-10 13:54:45 - MyFirstApp] Please ensure that adb is correctly located at '/opt/adt-bundle-linux-x86_64-20130219/sdk/platform-tools/adb' and can be executed.