📜  snap scrcpy - Shell-Bash (1)

📅  最后修改于: 2023-12-03 15:20:10.134000             🧑  作者: Mango

Snap Scrcpy - Shell-Bash

Snap Scrcpy is a command-line tool that allows you to mirror and control your Android device from your computer using a USB cable or network connection.

With Snap Scrcpy, you can:

  • Display your Android device’s screen on your computer
  • Control your Android device using your computer’s mouse and keyboard
  • Record and save videos of your Android device’s screen
  • Share your Android device’s screen with others
  • And much more!

Snap Scrcpy is a snap package, which means it is easy to install and update on any Linux distribution that supports the snap package manager.

Installation

To install Snap Scrcpy, simply run the following command:

sudo snap install scrcpy

Note: If you do not have the snap package manager installed, you will need to install it first. You can do this by running the following command:

sudo apt install snapd
Usage

Once installed, you can run Snap Scrcpy by running the following command:

snap run scrcpy

This will launch Snap Scrcpy and connect it to your Android device.

To control your Android device using your computer’s mouse and keyboard, simply use your mouse to click on the simulated screen on your computer’s display.

Recording

You can use Snap Scrcpy to record the screen of your Android device by using the following command:

snap run scrcpy --record <filename>

This will record the screen of your Android device and save it to a file with the specified filename.

Conclusion

Snap Scrcpy is a powerful tool for any Android developer or user who wants to mirror and control their Android device using their computer. With its easy installation process and powerful features, Snap Scrcpy is a must-have tool for anyone looking to improve their Android development workflow.