Logcat for multiple devices running at the same time in Android Studio?

只愿长相守 提交于 2019-12-10 12:57:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!