You can capture screenshots and screen recordings of your Wear OS app to create Play Store listing assets, illustrate bug reports, share app demos and design reviews, and check for visual regressions across watch screen sizes and font scales.
Wear OS provides several ways to capture the Wear OS UI:
- Android Studio: use the Running Devices or Logcat window to capture screenshots and record videos.
- Command line (
adbandscrcpy): useadb exec-out screencapto capture screenshots, and useadb shell screenrecordorscrcpyto record videos. - Companion app: on Google Pixel Watch devices, use the Take wearable screenshot option in the Google Pixel Watch app on the paired phone.
- Compose previews and screenshot tests: capture
@Previewcomposables in Android Studio or run automated screenshot tests across watch screen sizes and scroll states.
Capture screenshots and screen recordings in Android Studio
Capture screenshots and record videos of your Wear OS app's UI directly from Android Studio. The process is the same as for other form factors and can be done from several places within the IDE.
- Open your app in Android Studio.
- Run your app on a device or an emulator.
- Navigate to the screen you want to capture.
Initiate the screen capture from one of the following tool windows:
The Running Devices window: in the toolbar for your device, click the Take Screenshot icon to take a screenshot, or the Record Screen icon to record a video.
The Logcat window: in the toolbar, click the Take Screenshot icon to take a screenshot, or the Record Screen icon to record a video. These icons might be located under the overflow menu.
Finalize the capture:
- For screenshots: an editor window appears after the capture. You can make adjustments, such as adding a device frame, before you click Save.
- For screen recordings: after clicking the record button, select video options and click Start Recording. Interact with your app, and then click Stop Recording when you're finished. A dialog appears where you can save the resulting file.
Capture screenshots and screen recordings using adb
You can use the Android Debug Bridge (adb) for capturing screen content from
the command line.
Screenshots
Use the screencap command to capture a screenshot of your Wear OS
device's display. It works just like it does for mobile.
# Use 'exec-out' instead of 'shell' to get raw data
$ adb exec-out screencap -p > screen.png
One specific consideration for Wear OS is that this command captures the raw, square frame buffer, which doesn't include a circular mask. For polished screenshots, you can apply a circular mask using an image editing tool. For example, using ImageMagick:
# Use ImageMagick to apply a circular mask
$ adb exec-out screencap -p | magick - \
-alpha set -background none -fill white \
\( +clone -channel A -evaluate set 0 +channel -draw "circle %[fx:(w-1)/2],%[fx:(h-1)/2] %[fx:(w-1)/2],0.5" \) \
-compose dstin -composite \
png:screen.png
Screen recordings
You can record a video of your Wear OS device's screen from the command line using either of the following tools. Both capture the raw square frame buffer without a circular mask:
adb shell screenrecord: built intoadbwith no extra software to install. It records video without audio to the watch's storage (up to 180 seconds), which you then pull to your computer:# Record up to 30 seconds on the watch, then pull to your computer. adb shell screenrecord --time-limit 30 /sdcard/screen-recording.mp4 adb pull /sdcard/screen-recording.mp4scrcpy: an open source tool that streams and saves video directly to your computer in a single step without storing a file on the watch or enforcing a 180-second limit. It also supports live display mirroring and audio capture when you omit
--no-windowor--no-audio:# Record to screen-recording.mp4. Press Ctrl+C to stop. scrcpy --no-audio --no-window --record screen-recording.mp4To stop recording automatically after 30 seconds, use the
--time-limitoption:# Record to screen-recording.mp4, stopping after 30 seconds. scrcpy --no-audio --no-window --record screen-recording.mp4 --time-limit=30
Capture screenshots with the companion app
To take screenshots on a Google Pixel Watch without connecting to a computer, use the Google Pixel Watch companion app (the phone app used to pair and manage the watch). Follow these steps:
- On the watch, navigate to the screen that you want to capture.
- On the paired phone, if you haven't already enabled Developer options, go to Settings > About phone and tap Build number seven times.
- Open the Google Pixel Watch companion app on your phone.
- Tap More options to open the overflow menu.
- Tap Take wearable screenshot. The message Screenshot request sent appears, followed by a Ready to send watch screenshot notification.
- Tap the notification to share or save the screenshot.
Capture Compose previews and screenshot tests
Use the following methods to inspect and capture your Compose for Wear OS UI across watch screen sizes, font scales, or scrolled list positions without a physical watch or emulator:
- Compose previews: right-click a
@Previewin Android Studio and select Copy Image to capture a preview, or passinitialAnchorItemIndextorememberTransformingLazyColumnStateto preview and capture different scroll positions of a list. For more information, including how to guardScrollIndicatorduring multi-frame scroll capture withLocalScrollCaptureInProgress, see Preview your UI in Compose for Wear OS. - Screenshot testing: use automated screenshot tests with Roborazzi to capture and verify screens across Wear OS hardware sizes. For more information, see Screenshot testing.