Is it possible to show the adb logcat
for a tcpip
device in Android Studio? I am writing a application that utilizes the USB port and I cannot use it for adb usb
.
Currently, I am using the following instruction to view the logcat in Command Prompt, but it would be nice if this was integrated into AS: http://developer.android.com/tools/help/adb.html#wireless
After some testing Android Studio already supports this. You just need perform the following ADB commands, and now you can see the logcat and even wirelessly load your application. No USB cable needed!
From: http://developer.android.com/tools/help/adb.html#wireless
$ adb tcpip 5555
restarting in TCP mode port: 5555
Settings -> About tablet -> Status -> IP address. Remember the IP address, of the form #.#.#.#.
Settings -> Wi-Fi -> -> IP address
$ adb connect #.#.#.#
connected to #.#.#.#:5555