Tag: adb
-
Using adb over Wireless / Wifi
Physical cables are rapidly becoming obsolete, and they’re annoying to use for Android development and debugging. Luckily, adb can easily be configured to work wirelessly and you can free yourself from micro-USB cables (almost) entirely. To do this, plug a phone into a computer as you would to normally debug over adb. (This is the…
-
Copy Android LogCat / Log Contents From a Device With adb
It’s a bummer when your Android application crashes while you’re away from a computer. Luckily, there’s a simple adb command that will dump the contents of logcat’s ring buffer to your local disk, so you can examine the cause of the crash: [code] adb logcat -d -v time > logcat.txt [/code] This will copy the…
-
Android USB Debugging on Ubuntu Linux 11.10
I recently set up a new development machine with Ubuntu Linux 11.10, but ran into this problem trying to list connected Android devices with the adb command: [code] ./adb devices List of devices attached ???????????? no permissions [/code] To fix this, just run these commands from your SDK/platform-tools folder to restart the ADB server with…