在Android Studio中同时运行多个设备的Logcat?

时间:2015-01-05 08:20:19

标签: android android-studio adb android-windowmanager

正如标题所说,我想在Android工作室内有两个窗口来查看同时运行的2个设备的日志,如何实现这一目标?目前我必须一直切换设备,但是当你必须比较不同的值时它不是很方便。

我找到了这个帖子,但它在AS中没有工作:

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

2 个答案:

答案 0 :(得分:2)

You can use the regular "Android" view for one device, then run your app on the other device in debug mode. In the debug view, you can view the logcat output in the Logcat tab there. Then make both the Android and Debug views floating to see them at the same time.

答案 1 :(得分:0)

打开两个Android Studio项目,在两个窗口上打开Android Monitor,您也可以在每个项目中选择一个设备。