Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Android 14 display in pixel device #306

Open
krishtoautomate opened this issue Mar 30, 2024 · 4 comments
Open

Issue with Android 14 display in pixel device #306

krishtoautomate opened this issue Mar 30, 2024 · 4 comments

Comments

@krishtoautomate
Copy link

stdout: java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, int]
at java.lang.Class.getMethod(Class.java:2937)
at java.lang.Class.getMethod(Class.java:2449)
at com.genymobile.scrcpy.wrappers.ClipboardManager.getAddPrimaryClipChangedListener(ClipboardManager.java:104)
at com.genymobile.scrcpy.wrappers.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:112)
at com.genymobile.scrcpy.Device.(Device.java:110)
at com.genymobile.scrcpy.Connection.(Connection.java:37)
[25091FDF6006E3] stdout: at com.genymobile.scrcpy.WebSocketConnection.(WebSocketConnection.java:23)
at com.genymobile.scrcpy.WSServer.joinStreamForDisplayId(WSServer.java:163)
[25091FDF6006E3] stdout: at com.genymobile.scrcpy.WSServer.onMessage(WSServer.java:126)
at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:648)
at org.java_websocket.drafts.Draft_6455.processFrameBinary(Draft_6455.java:835)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:794)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:381)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:218)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1011)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:993)
[25091FDF6006E3] stdout: java.lang.AssertionError: java.lang.NoSuchMethodException: android.view.SurfaceControl.createDisplay [class java.lang.String, boolean]
at com.genymobile.scrcpy.wrappers.SurfaceControl.createDisplay(SurfaceControl.java:83)
at com.genymobile.scrcpy.ScreenEncoder.createDisplay(ScreenEncoder.java:258)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:100)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:82)
at com.genymobile.scrcpy.ScreenEncoder.run(ScreenEncoder.java:294)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.NoSuchMethodException: android.view.SurfaceControl.createDisplay [class java.lang.String, boolean]
at java.lang.Class.getMethod(Class.java:2937)
at java.lang.Class.getMethod(Class.java:2449)
at com.genymobile.scrcpy.wrappers.SurfaceControl.createDisplay(SurfaceControl.java:81)
... 5 more

@krishtoautomate
Copy link
Author

Genymobile/scrcpy#4657

@Barney-Steven
Copy link

Hi, Scrcpy 2.4 supports Android 14 + , but the version of scrcpy in ws-scrcpy is way behind, do you fix the issue in ws-scrcpy?

@krishtoautomate
Copy link
Author

Too many classes to fix. It is like complete rewrite

@ituberus
Copy link

ituberus commented Jul 9, 2024

Too many classes to fix. It is like complete rewrite

ANy fix soon, my pixel was working about to weeks ago, wanted to use today, its just black, nothing shows, but im still able to operate the phone from the black screen, any fix please?, sorry for my bad english
shades

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants