I would like to know if there is any possibility to mirror my android device in real time using android studio? Or anything else that may be used just with an usb or hdmi cable with no required registration? I tried a couple of little software apps so far but there is a delay consinsting in more than 10 seconds until the action is mirrored on the pc. Thank you in advance.
Asked
Active
Viewed 1.4k times
7
-
You can use a chromecast to mirror the display to your TV or anything that has HDMI input, so that should include most monitors – Populus Mar 20 '15 at 20:23
4 Answers
14
I am using Vysor which doesn't need registration, but free version limits the resolution, so it may not be optimal for certain purposes
Edit, I just discovered scrcpy which seems to work way better and even supports copy-pasting from PC to device

Cris
- 774
- 9
- 32
-
6
-
-
Wow, I wish software experiences were all like `scrcpy`. I'm on Windows, no installation, 30mb download, I literally opened the `.exe`, it assumed my Android was the one to show and it displayed it. No config, no selection, no adverts, just open and go. 10/10. – dKen Mar 25 '22 at 04:44
3
Now you can do it with Android Studio https://developer.android.com/studio/preview/features#device-mirroring

Daniele
- 1,030
- 9
- 20
-
-
I assume you setup all the needed settings following the doc, so the issue might be related to your phone model. Which one are you using? – Daniele Feb 22 '23 at 12:29
-
I tried different models but not working, Realme 6, Oppo A54, Samsung A31, Pixel 4, Pixel 6...that's why I'm wondering. – Dev4Life Feb 23 '23 at 14:06
-
-
-
-
-
Could you just try the latest (as today) Beta version Android Studio Flamingo | 2022.2.1 Beta 3? – Daniele Feb 28 '23 at 08:53
-
-
Hi. Don't know what was the problem but, it's working fine in the stable version, too. – Dev4Life Mar 13 '23 at 03:47
2
Now this feature is available in Android Studio Electric Eel Yay!
Preference > Experimental > Device Mirroring

Namevermind
- 21
- 2
-1
You can try AllCast. http://www.omgchrome.com/cast-android-mirror-chrome-desktop-pc/
or may be, you can first record your screen and play it back later by using adb shell screenrecord /sdcard/demo.mp4 and pull the file back using adb pull /sdcard/demo.mp4

kaho
- 4,746
- 1
- 16
- 24
-
I would avoid third-party solutions if your framework provides you with everything you need. Check this out https://developer.android.com/studio/preview/features#device-mirroring-giraffe – Daniele Feb 24 '23 at 15:05