Last active
October 7, 2022 06:36
-
-
Save jack-webb/647507597f749c4600dd9b6a87434f21 to your computer and use it in GitHub Desktop.
Install and use scrcpy on MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install scrcpy with brew. | |
brew install scrcpy | |
# Check your device is connected with adb. | |
adb devices | |
# Run scrcpy and start mirroring! Use Ctrl+C to exit. | |
scrcpy | |
# Record your scrcpy session with --record. | |
scrcpy --record my-demo.mp4 | |
# You can even record directly, without mirroring the screen. | |
scrcpy --no-display --record my-demo.mp4 | |
# You need adb in your $PATH for scrcpy to work. Check by running adb in a new terminal. | |
# It should already be there, but install it with brew if you need it. | |
brew install android-platform-tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment