# Appium screen recording script: adb shell "screenrecord ..." yields "/system/bin/sh: screenrecord: not found" error

**URL:** <https://discuss.bitrise.io/t/appium-screen-recording-script-adb-shell-screenrecord-yields-system-bin-sh-screenrecord-not-found-error/15461>\
**Category:** Tooling Issues\
**Tags:** appium\
**Created:** [January 20, 2021, 2:51am UTC](https://discuss.bitrise.io/t/appium-screen-recording-script-adb-shell-screenrecord-yields-system-bin-sh-screenrecord-not-found-error/15461 "2021-01-20T02:51:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason.wei](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jason.wei](https://discuss.bitrise.io/u/jason.wei)\
**Post date:** [January 20, 2021, 2:51am UTC](https://discuss.bitrise.io/t/appium-screen-recording-script-adb-shell-screenrecord-yields-system-bin-sh-screenrecord-not-found-error/15461/1 "2021-01-20T02:51:36Z")

</div>

Hey there! I am trying to follow these instructions provided by Bitrise:

> **[Screen recording of Android UI tests with Script Steps](https://devcenter.bitrise.io/tips-and-tricks/screen-recording-of-android-ui-tests-with-script-steps/)**
>
> You can run your UI test specific to your Android app and have the whole process screen recorded using one Bitrise workflow. Here is an example workflow containing the steps we will use in this guide:

  
Particularly step 4 with this code:  
$ANDROID\_HOME/platform-tools/adb shell “screenrecord /sdcard/video.mp4 --verbose” &\> $BITRISE\_DEPLOY\_DIR/logs.txt &  
disown

The step “Passes” but in the logs.txt provided, it outputs:  
“/system/bin/sh: screenrecord: not found”

Does anybody have any ideas why screenrecord is not working? I have tried things like “Install missing Android components” step before as well.

---

<div class="post-metadata">

**Author:** ![oliver.falvai](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/oliver.falvai/32/5030_2.png) [@oliver.falvai](https://discuss.bitrise.io/u/oliver.falvai)\
**Post date:** [February 5, 2021, 10:00am UTC](https://discuss.bitrise.io/t/appium-screen-recording-script-adb-shell-screenrecord-yields-system-bin-sh-screenrecord-not-found-error/15461/2 "2021-02-05T10:00:40Z")

</div>

Hey @jason.wei,

Can you tell the specific details of the emulator that you launch in the AVD Manager step? Normally the `screenrecord` utility should be present on the emulator, but looks like it’s missing.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [March 7, 2021, 10:00am UTC](https://discuss.bitrise.io/t/appium-screen-recording-script-adb-shell-screenrecord-yields-system-bin-sh-screenrecord-not-found-error/15461/3 "2021-03-07T10:00:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
