samsung SM-N9008S No uniqueId field (original) (raw)

Please read the prerequisites to run scrcpy.

Also read the FAQ and check if your issue already exists.

Environment

Describe the bug

No uniqueId field

C:\Users\Administrator\Downloads\scrcpy-win64-v3.3.3\scrcpy-server: 1 file pushed, 0 skipped. 94.2 MB/s (90164 bytes in 0.001s)
[server] INFO: Device: [samsung] samsung SM-N9008S (Android 5.0)
[server] WARN: Audio disabled: it is not supported before Android 11
[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.AssertionError: java.lang.NoSuchFieldException: uniqueId
        at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:145)
        at com.genymobile.scrcpy.video.ScreenCapture.prepare(ScreenCapture.java:69)
        at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:78)
        at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
        at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
        at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NoSuchFieldException: uniqueId
        at java.lang.Class.getDeclaredField(Class.java:929)
        at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:142)
        ... 5 more
INFO: Renderer: direct3d
WARN: Device disconnected
ERROR: Demuxer 'video': stream disabled due to connection error
WARN: Demuxer 'audio': stream explicitly disabled by the device