简体   繁体   English

Android 设备镜像PC

[英]Android device mirrored PC

I would like to know if there is any possibility to mirror my android device in real time using android studio?我想知道是否有可能使用 android 工作室实时镜像我的 android 设备? Or anything else that may be used just with an usb or hdmi cable with no required registration?或者其他任何可以与 usb 或 hdmi 电缆一起使用而无需注册的东西? 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.到目前为止,我尝试了几个小软件应用程序,但在 10 多秒内出现延迟,直到操作被镜像到 pc 上。 Thank you in advance.先感谢您。

I am using Vysor which doesn't need registration, but free version limits the resolution, so it may not be optimal for certain purposes 我正在使用不需要注册的Vysor ,但是免费版本限制了分辨率,因此对于某些目的而言可能不是最佳的

Edit, I just discovered scrcpy which seems to work way better and even supports copy-pasting from PC to device 编辑,我刚刚发现scrcpy似乎工作得更好,甚至支持从PC到设备的复制粘贴

You can try AllCast. 您可以尝试AllCast。 http://www.omgchrome.com/cast-android-mirror-chrome-desktop-pc/ 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 或者可以,您可以先使用adb shell screenrecord /sdcard/demo.mp4录制屏幕并稍后播放,然后使用adb pull /sdcard/demo.mp4将文件adb pull /sdcard/demo.mp4

Now this feature is available in Android Studio Electric Eel Yay!现在此功能可在 Android Studio Electric Eel Yay 中使用!

Preference > Experimental > Device Mirroring首选项 > 实验性 > 设备镜像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM