Home » Android » android – Capture system.err-Exceptionshub

android – Capture system.err-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

I am trying to capture the error log that is printed when a test fails.

I am able to get the normal log via

adb -s $device logcat System.out:I *:S

How do I also capture the exception thrown by a test failing?

How to&Answers: