Android Logcat does not show logs when switching devices

I am trying to use Logcat to diagnose my problems with Android. I often have a phone connected to and the emulator is working. Sometimes I debug an emulator, sometimes I debug a phone or even a third device.

Logcat does not continue to display messages after switching the device. How can I indicate what Logcat is doing or force logging to resume without restarting eclipse?

Acumen appreciated

+7
source share
3 answers

I noticed this time. Usually one of two things does the trick. First, open the Devices window, make sure the new device is displayed, and then return to Logcat. It is like starting Logcat again.

If this does not work, then in the "Devices" menu, select "Restart ADB" (I think that what he called, I do not have it at the moment).

If even this does not work, start and restart the ADB server from the command line and repeat the above.

+12
source

If you are using Eclipse, switch to the DDMS perspective. There, logcat will display the log of the selected device in View devices (Window → Open Perspective → Other → DDMS)

+2
source

You coupld use the CLI for ADB and attach the debugging process to the switching device. Logcat will then select debug messages from this connected device. Regardless of which device is actively connected to ADB, issued through Logcat

0
source