scrcpy
scrcpy copied to clipboard
not support redroid
Environment
- OS: [macOS]
- scrcpy version: [2.4]
- installation method: [manual build]
- device model: redroid
- Android version: [8.1]
Describe the bug
docker run -itd --rm --privileged \
--pull always \
-v ~/data:/data \
-p 5555:5555 \
redroid/redroid:11.0.0-latest
adb connect 127.0.0.1:5555
scrcpy
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (tcpip) 172.28.0.10:5555 device redroid11_arm64
/opt/homebrew/Cellar/scrcpy/2.4/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 92.1 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [redroid] redroid redroid11_arm64 (Android 11)
[server] ERROR: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
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:89)
at com.genymobile.scrcpy.Device.<init>(Device.java:73)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:121)
at com.genymobile.scrcpy.Server.internalMain(Server.java:259)
at com.genymobile.scrcpy.Server.main(Server.java:214)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:399)
hi~i meet the same problem. have u got any solution yet?
same!