-
-
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
NullPointerException ClipboardManager.getAddPrimaryClipChangedListener() #1440
Comments
Wow, that On v1.13, what happens if you |
On v1.13, if I |
I mean |
Oh! My bad. So I get this error on doing
|
Side note: After doing |
OK, so we can't retrieve the |
This is a custom Android product (not a phone). |
OK, then please check how the clipboard manager is loaded by introspection:
scrcpy/server/src/main/java/com/genymobile/scrcpy/wrappers/ServiceManager.java Lines 33 to 41 in 8b73c90
It might help to understand why it does not work on your product. In your case, the call to |
Understood, thank you very much! I will get back to you ASAP. |
Could you try the |
Oh wow, yes will do! Thanks :) |
The
thanks @rom1v |
@rom1v Apologies for the delay, do I need to build the server as well or can I use pre-built? |
You could test the version (with binaries provided) from #1598, it includes this change. |
Hey @rom1v, I have succesfully tested this binary and everything is working perfectly! Thank you very much! |
Environment
Describe the bug
Crash on opening Scrcpy after snap updated it to v1.14.
I understand that older Android devices are not supported, but this device was working perfectly until scrcpy v1.13.
Tried using
scrcpy -m 800/1080/1920, etc.
as suggested for this issue in countless older threadsbut this doesn't work.
Tried changing to lower bitrate as well
scrcpy -b 1M/2M
but to no avail.On errors, please provide the output of the console (and
adb logcat
if relevant).I've downgraded scrcpy to v1.12-1-g71df317 via channel 'edge' and it's working fine now.
Even if this issue is not resolved, I request the devs to keep older versions v1.12 or v1.13 available via snap channels for easy downgrade.
The text was updated successfully, but these errors were encountered: