问题
As title says, I'd like to have two windows inside Android studio to see log for 2 devices running at the same time, how to achieve this? At the moment i have to switch devices all the time, but its not very handy when you have to compare different values.
I found this thread, but it's not working in AS:
How do I get Logcat for multiple devices running at the same time in Eclipse
回答1:
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.
回答2:
Open two Android Studio projects, open the Android Monitor on both windows and you can alternatively choose one device in each one.
来源:https://stackoverflow.com/questions/27775675/logcat-for-multiple-devices-running-at-the-same-time-in-android-studio