Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 463
gregaj Avatar asked Jan 05 '15 08:01

gregaj


People also ask

What is verbose Logcat?

Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.

What is the use of Logcat in Android give proper example?

Logcat displays all log messages from the device, regardless of which process you selected. Edit Filter Configuration: Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.


1 Answers

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.

like image 154
ade.se Avatar answered Jan 05 '23 02:01

ade.se