- Run your app on a connected device or emulator. If using a connected device, be sure you have enabled USB debugging.
- In Android Studio, select View > Tool Windows > Logcat to open Logcat.
- Select the device and a process from the drop-down at the top of the window.
- Click Screen Capture on the left side of the window.
The screenshot appears in a Screenshot Editor window.
You can also rotate your captured screen or choose a device to wrap your screenshot with real device artwork; Drop Shadow, Screen Glare, or both.
source: https://developer.android.com/studio/debug/am-screenshot
No comments:
Post a Comment