Skip to content

adb已连接上scrcpy连接不上 #500

@hsdnh

Description

@hsdnh

scrcpy v2.2 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (tcpip) 154.666.662.2:5555 device redroid13_arm64_only
C:\Users\Administrator\Desktop\scrcpy-win64-v2.2\scrcpy-se...file pushed, 0 skipped. 137.2 MB/s (64363 bytes in 0.000s)
[server] INFO: Device: [redroid] redroid redroid13_arm64_only (Android 13)
[server] ERROR: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
java.lang.AssertionError: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:86)
at com.genymobile.scrcpy.Device.(Device.java:72)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:95)
at com.genymobile.scrcpy.Server.internalMain(Server.java:235)
at com.genymobile.scrcpy.Server.main(Server.java:190)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:72)
... 6 more
ERROR: Server connection failed
大佬,我这是什么原因

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions