○ 화면 캡쳐 명령어
- /sdcard/Pictures/scree.png는 임의 경로 입니다. 저장하고 싶은 경로를 입력하시면 됩니다.
adb shell screencap -p /sdcard/Pictures/screen.png
- screencap 사용법
usage: screencap [-hp] [-d display-id] [FILENAME]
-h: this message
-p: save the file as a png.
-d: specify the display id to capture, default 0.
If FILENAME ends with .png it will be saved as a png.
If FILENAME is not given, the results will be printed to stdout.
참고 사이트
developer.android.com/studio/command-line/adb?hl=ko
Android 디버그 브리지(adb) | Android 개발자 | Android Developers
기기와 통신할 수 있는 다목적 명령줄 도구인 Android 디버그 브리지를 알아보세요.
developer.android.com