Wear OS provides several ways to capture the Wear OS UI:

- **Android Studio**: use Logcat to take screenshots.
- **Companion app** : on Google Pixel Watch devices, use the**Take wearable screenshot**option to take screenshots.
- **Screen record for Wear OS**: record a video of the screen.

## Capture screenshots and screen recordings in Android Studio

Capture screenshots and record videos of your wearable 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.

1. Open your app in[Android Studio](https://developer.android.com/studio).
2. Run your app on a device or an emulator.
3. Navigate to the screen you want to capture.
4. Initiate the screen capture from one of the following tool windows:
   - **The[Logcat](https://developer.android.com/studio/debug/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.![The Android Logcat Devices window, with arrows pointing to the screenshot and screen record buttons.](https://developer.android.com/static/training/wearables/images/as-logcat.png)
   - **The[Running Devices](https://developer.android.com/studio/run/device#device-mirroring)window:** The toolbar for your device also provides**Take Screenshot** and**Record Screen** icons.**Note:** These controls are only available if you are using[device mirroring](https://developer.android.com/studio/run/device#device-mirroring)to stream the device's display into this window.![The Android Studio Running Devices window, with arrows pointing to the screenshot and screen record buttons.](https://developer.android.com/static/training/wearables/images/as-running-devices.png)
5. 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, allowing you to 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](https://developer.android.com/tools/adb#screencap)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](https://github.com/ImageMagick/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

Unlike on mobile, the standard[`adb screenrecord`command](https://developer.android.com/tools/adb#screenrecord)is not supported on Wear OS.

Instead, we recommend the open source[scrcpy](https://github.com/Genymobile/scrcpy)tool. For basic usage to record a video file from your device's screen, run the following command:  

    # Record the screen to a file named video.mp4. Use Ctrl+C to stop.
    scrcpy --no-audio --no-window --record video.mp4

To automatically stop recording after 30 seconds, use the`--time-limit`option:  

    # Record the screen to a file named video.mp4, stopping after 30 seconds.
    scrcpy --no-audio --no-window --record video.mp4 --time-limit=30

## Capture screenshots with the companion app

To take screenshots of a Google Pixel Watch device, you can use the[Google Pixel Watch](https://play.google.com/store/apps/details?id=com.google.android.apps.wear.companion)companion app. Follow these steps:

1. On your UI, find the screen that you want to capture.
2. On the Android phone, enable**Developer options** , if you haven't already, by going to**Settings \> About phone** , and tapping**Build number** *seven times.*
3. Open the Wear companion app on your phone.
4. Tap the three dot overflow button in the upper-righthand corner to open the menu.
5. Tap**Take wearable screenshot** . The following message appears:**Screenshot request sent** . Then you receive the following notifications:**Ready to send watch screenshot** and**tap to send**.
6. Tap the notification to receive options for sending or sharing the screenshot using Bluetooth, Gmail, or other options.