命令行使用scrcpy,出现以下错误,GUI连接失败,问题应该也在这
2021-01-21 20:24:32.408 scrcpy[92906:972790] CRITICAL: Could not initialize SDL: The video driver did not add any displays
[server] INFO: Device: Xiaomi MI 8 (Android 10)
[server] ERROR: Exception on thread Thread[main,5,main]
java.io.IOException: Connection refused
at android.net.LocalSocketImpl.connectLocal(Native Method)
at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:296)
at android.net.LocalSocket.connect(LocalSocket.java:147)
at com.genymobile.scrcpy.DesktopConnection.connect(DesktopConnection.java:40)
at com.genymobile.scrcpy.DesktopConnection.open(DesktopConnection.java:63)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:57)
at com.genymobile.scrcpy.Server.main(Server.java:252)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:380)
命令行使用scrcpy,出现以下错误,GUI连接失败,问题应该也在这 2021-01-21 20:24:32.408 scrcpy[92906:972790] CRITICAL: Could not initialize SDL: The video driver did not add any displays [server] INFO: Device: Xiaomi MI 8 (Android 10) [server] ERROR: Exception on thread Thread[main,5,main] java.io.IOException: Connection refused at android.net.LocalSocketImpl.connectLocal(Native Method) at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:296) at android.net.LocalSocket.connect(LocalSocket.java:147) at com.genymobile.scrcpy.DesktopConnection.connect(DesktopConnection.java:40) at com.genymobile.scrcpy.DesktopConnection.open(DesktopConnection.java:63) at com.genymobile.scrcpy.Server.scrcpy(Server.java:57) at com.genymobile.scrcpy.Server.main(Server.java:252) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:380)