Open Android Studio > Settings (⌘ ,
)
Go to Tools > Device Mirroring
Tick both:
✅ Activate mirroring when a new physical device is connected
✅ Activate mirroring when launching an app on a physical device
Click Apply and OK
Connect your Android phone via USB (enable USB debugging)