You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--list-cameras flag generates Java errors on Meta Horizon OS #6167
Upon running scrcpy --list-cameras, the following appears in the terminal:
scrcpy 3.3 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) 340YC10G8B0V53 device Quest_3S
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 164.4 MB/s (90752 bytes in 0.001s)
[server] INFO: Device: [Oculus] oculus Quest 3S (Android 14)
[server] ERROR: java.lang.reflect.InvocationTargetException
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at com.genymobile.scrcpy.Workarounds.<clinit>(Workarounds.java:49)
at com.genymobile.scrcpy.Server.internalMain(Server.java:251)
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:359)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at com.genymobile.scrcpy.Workarounds.<clinit>(Workarounds.java:37)
... 4 more
Caused by: java.lang.RuntimeException: Can't create handler inside thread Thread[main,5,main] that has not called Looper.prepare()
at android.os.Handler.<init>(Handler.java:227)
at android.os.Handler.<init>(Handler.java:129)
at android.app.ActivityThread$H.<init>(ActivityThread.java:2128)
at android.app.ActivityThread.<init>(ActivityThread.java:350)
... 7 more
Activity
rom1v commentedon Jun 19, 2025
Thank you for your report.
Already fixed on
dev: #6165.Merge tag 'v3.3.1' of https://github.com/Genymobile/scrcpy into master