-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
[Not Working with Android mobile] #2976
Comments
Please try the binary provided in #2840. |
Unfortunately, still not working with #2840. |
You replaced the executable in your v1.21 release? From a terminal in the scrcpy folder (see FAQ), what is the result of:
Then:
|
Yes. I replcaed it with the executable in v1.21 release. |
What is the result of the commands requested in the previous comment? |
C:\Users\user>adb devices C:\Users\user\Downloads\scrcpy-win64-v1.21>scrcpy.exe |
OK. What are the results of:
and
? |
C:\Users\user\Downloads\scrcpy-win64-v1.21>adb get-serialno C:\Users\user\Downloads\scrcpy-win64-v1.21>certUtil -hashfile scrcpy.exe SHA256 C:\Users\user\Downloads\scrcpy-win64-v1.21>scrcpy.exe C:\Users\user\Downloads\scrcpy-win64-v1.21> |
Thank you. That's bad, because I have no idea why :/ For all users until now (even on Windows 10), this problem in v1.21 is fixed by #2840, but it's definitely not the case for you. What if you copy Are you comfortable with building the app manually (BUILD)? |
Ah, one more test: adb get-serialno
" then immediately after
echo %errorlevel% |
v1.21 with copy of scrcpy.exe and scrcpy-server in v1.20 --> No issue! C:\Users\user\Downloads\scrcpy-win64-v1.21>adb get-serialno C:\Users\user\Downloads\scrcpy-win64-v1.21>echo %errorlevel% Refering to build guide, I will try to build manually. Very Appreciated for your great support. |
Could you please retry with this version (it's basically #2840 with more logs) and post the output, please:
Also, could you test with the current development branch (+ some other pending work):
(you need to replace both files, and you'll need to restore |
Case 1. Case 2. |
Could you try with even more logs, please:
Here is a full archive (like a release):
|
Case 1. Case 2. |
Thank you for your tests. I really don't know why reading the output of Just to confirm the stdout and stderr content:
I could not reproduce, so it's difficult to investigate. :/ FYI, I will release a new version (v1.22) soon, I wanted to fix this issue beforehand, but I have no clue for now 😞 |
Myself also feel very sorry for not helping you fixing... but,
Hope it could be helpful for v1.22. Thank you. |
You mean that if you execute:
Then both It that's the case, then the problem is not from scrpcy (since getting empty files for this command is unexpected, and scrcpy is not involved). Something is messing up with process redirection on your system (or Do you have some antivirus/firewall? If you execute:
Does the file contain |
Yes. Even logcat can be captured.... |
It was by crash of fire-wall program. |
In my case USB debugging settings in my android device is automatically dis-enabled in 10 mins and I just enabled that, now everything working fine. |
Environment
Describe the bug
v.1.20 is working fine but,
v.1.21 is not working with the below message.
ERROR: Could not get device serial
ERROR: Server connection failed
The text was updated successfully, but these errors were encountered: