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
Ciao guys. Thank you so much for great work!
I'm on a vernee mix 2 (not a grat phone and probably a corner case).
I'm not able to click with left mouse. Only right. Unfortunately I can't find that option in my menu (doesn't exist at all). Is there a way for sending the option via ABD?
Using Windows (10 64bit)
I've tryed 1.0 1.1 1.2 (64bit) Vernee mix run android 7.0 security patch nov. 2017
solved. you must enable "usb debugging security settings" on your cell phone and then when connecting the cell phone to the PC, you must select "file transfer". this is how it worked for me.
I see quite a few comments with similar issues. My mouse, keyboard, and audio will not work using scrcpy. I am using scrcpy-win64-v3.1. I double-clicked the "no-console.vbs" as it said in the setup video on YouTube. I have restarted my phone and computer. The screen mirroring works. I do not see "USB debugging security settings" in the developer options. However, USB debugging is turned on. I have a Pixel 9 running Andriod 15. Is there a fix?
I'm facing the same issue on:
Host:
OS: Ubuntu 22.04.5 LTS x86_64
Host: Precision 7680
Kernel: 6.8.0-51-generic
Phone:
Samsung Galaxy S24U 512gb black (Europe)
Output of srcpy -V verbose after launching, seeing the screen and making a few clicks on mouse and keyboard:
[server] INFO: Device: samsung SM-S928B (Android 14)
[server] ERROR: Could not invoke method
java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, class java.lang.String, int]
at java.lang.Class.getMethod(Class.java:2950)
at java.lang.Class.getMethod(Class.java:2450)
at com.genymobile.scrcpy.wrappers.ClipboardManager.getAddPrimaryClipChangedListener(ClipboardManager.java:128)
at com.genymobile.scrcpy.wrappers.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:138)
at com.genymobile.scrcpy.Device.<init>(Device.java:100)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:64)
at com.genymobile.scrcpy.Server.main(Server.java:334)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:395)
[server] ERROR: Exception on thread Thread[Thread-2,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:75)
at com.genymobile.scrcpy.Device.injectEvent(Device.java:192)
at com.genymobile.scrcpy.Device.injectKeyEvent(Device.java:203)
at com.genymobile.scrcpy.Device.pressReleaseKeycode(Device.java:211)
at com.genymobile.scrcpy.Device.pressReleaseKeycode(Device.java:216)
at com.genymobile.scrcpy.Controller.control(Controller.java:66)
at com.genymobile.scrcpy.Server$3.run(Server.java:132)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:72)
... 7 more
Caused by: java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:207)
at android.hardware.input.InputManager.getInstance(InputManager.java:401)
... 9 more
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
INFO: Renderer: opengl
INFO: OpenGL version: 3.1 Mesa 20.0.8
INFO: Trilinear filtering enabled
DEBUG: Using icon: /usr/local/share/icons/hicolor/256x256/apps/scrcpy.png
INFO: Initial texture: 1080x2336
DEBUG: Starting demuxer thread
[server] DEBUG: Using encoder: 'c2.qti.avc.encoder'
VERBOSE: input: touch [id=finger] down position=404,1354 pressure=1.000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=408,1354 pressure=1.000000 buttons=000001
VERBOSE: input: touch [id=finger] up position=408,1354 pressure=0.000000 buttons=000000
VERBOSE: input: key down code=62 repeat=0 meta=200000
VERBOSE: input: key up code=62 repeat=0 meta=200000
DEBUG: User requested to quit
DEBUG: quit...
DEBUG: End of frames
DEBUG: Receiver stopped
WARN: Killing the server...
DEBUG: Server disconnected
DEBUG: Server terminated
Activity
izayl commentedon Mar 15, 2018
Xiaomi Mi 6 has the same issue
izayl commentedon Mar 15, 2018
@Pong420 Maybe this issue can fix. But I have not test it.
Pong420 commentedon Mar 15, 2018
@izayl It seems to not be working for me
rom1v commentedon Mar 15, 2018
Duplicate of #18.
Already fixed on v1.1.
izayl commentedon Mar 15, 2018
@rom1v I have pull the newest code of master. But the problem still exist.
rom1v commentedon Mar 15, 2018
?
rom1v commentedon Mar 15, 2018
Did you compile using prebuilt server v1.1?
Pong420 commentedon Mar 15, 2018
sorry, how to check prebuilt server version?
v1.1 still not work
izayl commentedon Mar 15, 2018
I find the reason of the issue,switch below option for obtain the permission of simulating Input
rom1v commentedon Mar 15, 2018
Did you compile everything, or downloaded the prebuilt server (the Android part)?
If you don't know, please give the result of:
(from the scrcpy root directory)
Pong420 commentedon Mar 15, 2018
Solved, enable the permission of simulating Input work for me
Thanks all
rom1v commentedon Mar 15, 2018
@izayl Thank you very much! I added a question in the FAQ.
moamahi commentedon Jun 13, 2018
Ciao guys. Thank you so much for great work!
I'm on a vernee mix 2 (not a grat phone and probably a corner case).
I'm not able to click with left mouse. Only right. Unfortunately I can't find that option in my menu (doesn't exist at all). Is there a way for sending the option via ABD?
Using Windows (10 64bit)
I've tryed 1.0 1.1 1.2 (64bit) Vernee mix run android 7.0 security patch nov. 2017
86 remaining items
elias8808 commentedon Aug 24, 2024
I can't use my mouse or keyboard. Has anyone found a solution?
elias8808 commentedon Aug 24, 2024
solved. you must enable "usb debugging security settings" on your cell phone and then when connecting the cell phone to the PC, you must select "file transfer". this is how it worked for me.
LarryP327 commentedon Jan 3, 2025
I see quite a few comments with similar issues. My mouse, keyboard, and audio will not work using scrcpy. I am using scrcpy-win64-v3.1. I double-clicked the "no-console.vbs" as it said in the setup video on YouTube. I have restarted my phone and computer. The screen mirroring works. I do not see "USB debugging security settings" in the developer options. However, USB debugging is turned on. I have a Pixel 9 running Andriod 15. Is there a fix?
rom1v commentedon Jan 3, 2025
Run from a console, you might have more details: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run
If you still don't have any relevant error, run with
scrcpy -Vverbose
to see what's injected.LarryP327 commentedon Jan 3, 2025
I'm a complete novice at this. Where would I run scrcpy -Vverbose from?
rom1v commentedon Jan 3, 2025
Read the link in my previous comment, it's explained.
LarryP327 commentedon Jan 3, 2025
It came up with an error. "Could not find any ADB device" "server connection failed".
elfomze commentedon Jan 29, 2025
I'm facing the same issue on:
Host:
OS: Ubuntu 22.04.5 LTS x86_64
Host: Precision 7680
Kernel: 6.8.0-51-generic
Phone:
Samsung Galaxy S24U 512gb black (Europe)
Output of
srcpy -V verbose
after launching, seeing the screen and making a few clicks on mouse and keyboard:rom1v commentedon Jan 29, 2025
@elfomze You're probably not running the latest version of scrcpy (currently 3.1).
elfomze commentedon Jan 29, 2025
Yep, my bad. I was running the old unofficial(?) snap version. 3.1 works 🙏
csa-x commentedon Feb 17, 2025
my simcard doesn't work, can't enable it in xiaomi device.
artillerymans commentedon Apr 28, 2025
Do you have to plug in the SIM and turn the switch on for this to work?
My status.
2.Device is not SIM inserted
The result is not working