-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
scrcpy not working v1.21 windows 10 #2903
Comments
Also, I just removed 1.21 version and installed 1.20 exe file and then checked choco one, it works fine as before. It's not working for 1.21 only |
Does
Probably a chocolatey packaging issue. Could you try the official release?
It should not, but this is unrelated. |
Tried the win64 zip file from release, same error from both wired and wireless connection. Interestingly, clicking the scrcpy.exe file with device connected wired and wireless runs the application and mirrors like before. |
The exact same error, with the chocolatey path? If so, then you set |
Please post the text as text in a ``` block instead of a screenshot. What if you execute the command which fails manually? adb -s 192.168.1.6:5555 push "D:\Downloads\scrcpy-win64-v1.21\scrcpy-server" "/data/local/tmp/scrcpy-server.jar"
Yes, the file is called |
It gives the following error - $ adb -s 192.168.1.6:5555 push "D:\Downloads\scrcpy-win64-v1.21\scrcpy-server" "/data/local/tmp/scrcpy-server.jar"
D:\Downloads\scrcpy-win64-v1.21\scrcpy-server: 1 file pushed, 0 skipped. 80.1 MB/s (40067 bytes in 0.000s)
adb: error: failed to copy 'D:\Downloads\scrcpy-win64-v1.21\scrcpy-server' to 'C:/Program Files/Git/data/local/tmp/scrcpy-server.jar': remote secure_mkdirs failed: No such file or directory |
WTF ❓ 🤔 And if you remove the quotes |
Your shell edits the commands to rewrite paths, which causes problems. Don't use git-bash or similar to launch scrcpy or execute adb commands. |
I see. The scrcpy works fine with cmd but does not work with git-bash in this version for both chocolatey and windows release and gives same error for git-bash. Although since I had git-bash as main one till 1.20 I didn't face this problem with that. Will use cmd now.
It gives this error idk why. adb -s 192.168.1.6:5555 push D:\Downloads\scrcpy-win64-v1.21\scrcpy-server /data/local/tmp/scrcpy-server.jar
adb: error: cannot stat 'D:Downloadsscrcpy-win64-v1.21scrcpy-server': No such file or directory |
Hi. I'm facing the same issue. When clicking scrcpy.exe directly from File Explorer or from Terminal, it works well but not from the Android Studio plugin... I have the same error as @VarunArora14 |
Which Android studio plugin? You should report the problem to them. |
I believe the plugin is this one Ran into a similar issue with that plugin after upgrading to v1.21, but this comment on #2838 fixed the issue for me |
I have read the FAQ.
I have searched in existing issues.
Environment
Describe the bug
Scrcpy command is not running properly in terminal giving error
Paths of adb and scrcpy through
where.exe scrcpy
are -Environment variables defined for chocolatey/bin and chocolatey/lib/scrcpy/tools
Till previous versions things were working fine as far as I remember. After I updated Android Studio and scrcpy, this error is coming now. Also, when I closed Android studio before, scrcpy closed bcos adb got closed too(don't know if it is useful information)
The text was updated successfully, but these errors were encountered: