September 25, 2019 • CalebProvost
Updated on August 19, 2020 • anthonyhvo12 • Based off of Genymobile’s documentation
There are many ways to connect and share a device's screen. This blog will use the open source application scrcpy
for its ability to use the device through the screen sharing and its user support. There will be two main steps in getting scrcpy
to work; getting the application onto your computer, and setting up USB Debugging on your Android device. The latter of the two requires the Android device to be at least Android 5.0.
Follow the instructions at Genymobile's official documentation (available on Linux, Windows, and macOS).
- Open your Android device's settings and select "About Phone" or "About Device".
- Locate "Build Number" within the settings referencing system software (sub settings are different per device).
- Press the "Build Number" 7 times where it should state developer mode unlocked.
- Now that you have developer mode unlocked, go to newly aquired developer settings (within the main settings page).
- Scroll down to "USB Debugging" and enable the option.
- Connect your Android device to your PC.
- A pop-up will ask for confirmation to allow connection with your PC, accept it.
- Next, start scrcpy in the method designed for your OS:
- Windows: Open the directory you saved from the .zip file and execute
scrcpy-noconsole.exe
. - Mac: Open terminal and enter
scrcpy
. - Linux: Open terminal and enter
scrcpy
.
- Windows: Open the directory you saved from the .zip file and execute