-
-
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
Could not list ADB devices ,But I can use 'adb shell' normally #5001
Comments
It was working fine a few days ago. |
Try downloading scrcpy again. |
I used 2.4 before, and 2.5 in the picture was just downloaded |
@Holdmyhand I would need the raw output of
Then post the output.txt file (as a file). Thank you. @C1heck0ut Please post the output of |
OK,I executed this command, but it seems that the output.txt I received is empty.
|
OK, that's the problem then: when its output is captured, it produces no output (so when I could not reproduce, Since the official Just to be sure, check that your binaries are correct:
Here are the expected sha256sums for the v2.5 release:
|
Does |
I have verified and compared these files, and the hash value is correct. Use echo works fine.
I closed the antivirus software and tried using Powershell and Terminal Administrator again, but the adb output redirection still gives empty file. |
In this comment, the user suggests a workaround: from your cmd.exe, try running cmd.exe, then run |
Still empty.Funning Win11, it should be a Windows issue. Thank you very much for your patient explanation. |
@rom1v ok,I tried using adb |
@rom1v Then I used the 2.5 version of scrcpy, and the output showed |
Environment
Describe the bug
When I use scrcpy, it reports an error
ERROR: Could not list ADB devices ERROR: Server connection failed
. I have deleted the windows environment variables. When I use the adb that comes with scrcpy, it returnsList of devices attached HT68A0201096 device
, and I can useadb shell
to operateThe text was updated successfully, but these errors were encountered: