Android Phone Mirroring on Macbook

Android Phone Mirroring on Macbook

Public
Public
Tags
Android
macOS
Mobile Dev
Developer Tools
Author
Series
Status
Done
Medium
dev.to
When I’m working on mobile features or trying to demo the feature to the designer or project manager, I often need to show what’s happening on the Android phone in real time when working remotely.
Sometimes, taking screenshots and recording the screens aren’t effective way to communicate over the bug issues.
As former iOS developer, I am aware that we can mirror our iPhone screen using QuickTime Player on Mac.
However, since shifting to Flutter, it also requires to check on Android devices often. I also need a tool like QuickTime Player.
With this purpose, that’s how I found scrcpy.

What’s scrcpy?

scrcpy is an open-source tool that lets you mirror and control an Android device from your computer.
It works over USB (or wirelessly if needed) and is especially useful for:
  • Debugging Android apps
  • Recording demo or bug reproduction videos
  • Live presentations
  • Testing UI flows without constantly picking up the phone
It’s fast, lightweight, and doesn’t require installing anything on the Android device itself.

How to install scrcpy on macOS

Following the steps below and enter each command below line by line to your Terminal.
  • The easiest way on macOS is using Homebrew.
    • brew install scrcpy
  • Also, install adb if you don’t have it yet.
    • brew install --cask android-platform-tools

Before mirroring your Android Phone

Please ensure that you have:
  1. Enable Developer Options on your Android phone
  1. Turn on USB debugging
  1. Plug your phone into your Mac using a USB cable
  1. Run the following command in your terminal:
scrcpy
That’s it. If everything is set up correctly, a new window will open showing your Android screen, mirrored in real time.
For me, this is really convenient way to mirror an Android phone screen on macOS.
Hope this helps if you’re looking for a simple Android mirroring solution on a Mac.

Reference