Kostas Kostas - 7 months ago 59
Android Question

How to run logcat on multiple devices?

How can I run logcat on multiple devices at the same time? "adb logcat" command gives an error:

error: more than one device and emulator


Use the -s option of adb:

adb -s <serialnumber>


C:\Users\lel>adb devices
List of devices attached    device
0123456789ABCDEF        device

adb -s 0123456789ABCDEF logcat
adb -s logcat