Search code examples
androidflutterandroid-studiodartadb

How to show the screen of a physical device inside Android Studio?


When using an emulator on Android Studio I can have the screen preview inside the Android Studio itself, I want to have a smiliar behaviour when using a physical device instead of an emulator.


Solution

  • Starting from Android Studio 2022.2.1 Device mirroring is under "Tools" menu in "Preferences" or "Settings" (For mac users).

    1. Open Android Studio on your computer.
    2. Go to the "Preferences" or "Settings".
    3. In the "Preferences" or "Settings" window, expand the "Tools" menu on the left-hand side.
    4. Open the "Device mirroring" sub menu.
    5. Mark as checked the option "Enable mirroring of physical Android devices".
    6. Click the "Apply" button to save the changes.