How do I get Logcat for multiple devices running at the same time in Eclipse

后端 未结 5 611
时光说笑
时光说笑 2021-01-03 21:22

I have two android devices connected to the same station. I would like to view the logcat for both while running them in debug mode in eclipse.

I have had SOME luck

5条回答
  •  渐次进展
    2021-01-03 22:23

    As takecare said.

    This is how you can do it:

    1. Find the device id's of Device 1 and Device 2. Do this by opening a shell prompt and typing the command adb devices You'll get a list of connected devices and their id's.
    2. Run the command adb -s [device_1_id] logcat Where [device_1_id] is the device id of your Device 1 which you obtained in the first step.
    3. Open another shell and do the same as in step 2, but for you Device 2.

提交回复
热议问题