'How to use my phone as ''emulator'' on Android Studio?

I know I can use my phone to debug and run application on Android Studio. However, I'd like to know if there is a way to run on my phone, but I see on my computer. I mean, it looks like a emulator, but with my data and apps, you know? Like create a mirror on my computer.



Solution 1:[1]

There is way to project the screen of your phone to your computer check out scrcpy. https://github.com/Genymobile/scrcpy

Solution 2:[2]

As an easier advice from me you can use screen mirroring software like mobizen,Vysor,AirDroid and for samsung devices you can use samsung flow.

Solution 3:[3]

First must set your divice to delevopers mode

  • set anable on install aplication via USB
  • i used vysor aplication just install on your device and your pc
  • and run aplication in your android studio

Solution 4:[4]

Mirroring of Android device screens is also available in Android Studio directly as an experimental feature in Studio Electric Eel | 2022.1.1. See https://developer.android.com/studio/preview/features#device-mirroring.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 xdestroyer83
Solution 2 Bramhacharya Sushant
Solution 3 Naufal Dwi Maulana
Solution 4 Sergey Prigogin