Skip to content

Commit fc2e69f

Browse files
committed
Remove -d for logcat dumping, as it works with emulator too.
1 parent f4a4457 commit fc2e69f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android-tools.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ If you use a physical device, that has been turned on for some time, its device
7979
```bash
8080
adb -s ${UDID} logcat -c
8181
```
82-
Then, after your tests are over, you can dump the logs saved on the physical device with command. The `-d` parameter after `logcat` commands it to dump the logs, and exit. The `-b` parameter specifies what buffers to read from. The `default` here limits output to `main`, `system`, `crash`, but to get all buffers, you can use `all`. More on the topic can be found in [the official documentation](https://developer.android.com/tools/logcat).
82+
Then, after your tests are over, you can dump the logs saved on the physical (or virtual) device with command. The `-d` parameter after `logcat` commands it to dump the logs, and exit. The `-b` parameter specifies what buffers to read from. The `default` here limits output to `main`, `system`, `crash`, but to get all buffers, you can use `all`. More on the topic can be found in [the official documentation](https://developer.android.com/tools/logcat).
8383
```bash
84-
adb -d -s ${UDID} logcat -d -b default > device_log.txt
84+
adb -s ${UDID} logcat -d -b default > device_log.txt
8585
```
8686

8787
## Android emulator start

0 commit comments

Comments
 (0)