其他分享
首页 > 其他分享> > scrcpy Device disconnected报错

scrcpy Device disconnected报错

作者:互联网

scrcpy,安卓设备在PC上投屏的神器,开源项目地址:scrcpy开源git地址
使用的时候有个坑要避免,报错如下:

[server] INFO: Device: samsung SM-A305GT (Android 10)
INFO: OpenGL shaders: ENABLED
INFO: Created renderer: opengl
INFO: Renderer: opengl
INFO: OpenGL version: 3.1.0 - Build 9.17.10.4459
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2336
WARN: Device disconnected
Press any key to continue....

找到的答案:

Change the output resolution (INFO: Initial texture: 1080x2336). Must be equal or lower than your desktop resolution.
use this command: scrcpy -m1024 (or -m1360)

标签:scrcpy,INFO,opengl,OpenGL,报错,Device
来源: https://blog.csdn.net/a5nan/article/details/111667716