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
In Android 10, clipboard data access is limited to the app that currently has focus, or is the default method editor (IME) (see privacy changes).
Also, the methods getPrimaryClip and setPrimaryClip now require a user ID for the calling package.
Logs if needed:
Copying from device
java.lang.AssertionError: java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.getPrimaryClip [class java.lang.String]
at com.genymobile.scrcpy.wrappers.ClipboardManager.<init>(ClipboardManager.java:20)
at com.genymobile.scrcpy.wrappers.ServiceManager.getClipboardManager(ServiceManager.java:75)
at com.genymobile.scrcpy.Device.getClipboardText(Device.java:148)
at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:106)
at com.genymobile.scrcpy.Controller.control(Controller.java:73)
at com.genymobile.scrcpy.Server$1.run(Server.java:45)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.getPrimaryClip [class java.lang.String]
at java.lang.Class.getMethod(Class.java:2072)
at java.lang.Class.getMethod(Class.java:1693)
at com.genymobile.scrcpy.wrappers.ClipboardManager.<init>(ClipboardManager.java:17)
Copying to device
java.lang.IllegalStateException: Buffer full, call next() to consume
at com.genymobile.scrcpy.ControlMessageReader.readFrom(ControlMessageReader.java:35)
at com.genymobile.scrcpy.DesktopConnection.receiveControlMessage(DesktopConnection.java:110)
at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:82)
at com.genymobile.scrcpy.Controller.control(Controller.java:73)
at com.genymobile.scrcpy.Server$1.run(Server.java:45)
at java.lang.Thread.run(Thread.java:919)
The text was updated successfully, but these errors were encountered:
In Android 10, clipboard data access is limited to the app that currently has focus, or is the default method editor (IME) (see privacy changes).
Also, the methods
getPrimaryClip
andsetPrimaryClip
now require a user ID for the calling package.Logs if needed:
Copying from device
Copying to device
The text was updated successfully, but these errors were encountered: