-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
clipboard cannot be synchronized: #4589
Comments
Thank you for your report.
Already fixed on dev branch: #4492 |
framework.zip scrcpy-server SHA-256: 0e9c436a5b319e4dc00f0420e5d2d81a00a4d169f3fc0e2417b429d38f8f299 one with the boolean being false scrcpy-server SHA-256: b7a94328d87e00be7f8c5a8cced09aaa21310921a92b7a5ba31e721e7cb958b |
That's surprising, since your framework.jar contains exactly the same change as in #4492. Please post the new stacktrace (output in the console). If it's exactly the same as in your original post, then it means that it still uses the old |
Thank you for your reply , I tried the new "false" & "true" scrcpy-server, 32bit scrcpy, 64bit scrcpy all errors occurred.
|
Please test this:
|
Thank you very much for your answer. I have another question about wifi connection. Scrcpy will automatically exit (WARN: Device disconnected) when the power button of the phone is pressed or the phone is in standby. This does not happen with USB connection.
|
This is unexpected. The adb connection should not be closed in that case. If you run |
Since it works, 5187f72 merged into |
adb shell and adb logcat , The situation is the same. After turning the screen on and off on the phone, it returns to C:\scrcpy-win64-v2.3.1-16-g4a885cc2b>
|
OK, so something on your device close the adb (or adb server crashes?) when you turn the screen off. |
scrcpy v2.4 Changes since v2.3.1: - Add UHID keyboard and mouse support (Genymobile#4473) - Simulate tilt multitouch by pressing Shift (Genymobile#4529) - Add rotation support for non-default display (Genymobile#4698) - Improve audio player (Genymobile#4572) - Adapt to display API changes in Android 15 (Genymobile#4646, Genymobile#4656, Genymobile#4657) - Adapt audio workarounds to Android 14 (Genymobile#4492) - Fix clipboard for IQOO devices on Android 14 (Genymobile#4492, Genymobile#4589, Genymobile#4703) - Fix integer overflow for audio packet duration (Genymobile#4536) - Rework cleanup (Genymobile#4649) - Upgrade FFmpeg to 6.1.1 in Windows releases (Genymobile#4713) - Upgrade libusb to 1.0.27 in Windows releases (Genymobile#4713) - Various technical fixes
Environment
OOL1)
Describe the bug
Cutting and pasting Android text cannot be pasted in Windows, The cut and paste function cannot be synchronized.
Only from computer to mobile phone(shift+alt+v)
[server] ERROR: Could not invoke method
java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.getPrimaryClip [class java.lang.String, int, class java.lang.String]
at java.lang.Class.getMethod(Class.java:2937)
at java.lang.Class.getMethod(Class.java:2449)
at com.genymobile.scrcpy.wrappers.ClipboardManager.getGetPrimaryClipMethod(ClipboardManager.java:44)
at com.genymobile.scrcpy.wrappers.ClipboardManager.getText(ClipboardManager.java:117)
at com.genymobile.scrcpy.Device.getClipboardText(Device.java:286)
at com.genymobile.scrcpy.Device$3.dispatchPrimaryClipChanged(Device.java:143)
at android.content.IOnPrimaryClipChangedListener$Stub.onTransact(IOnPrimaryClipChangedListener.java:84)
at android.os.Binder.execTransactInternal(Binder.java:1410)
at android.os.Binder.execTransact(Binder.java:1341)
The text was updated successfully, but these errors were encountered: