-
-
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
ERROR: Could not execute "adb push" #278
Comments
Could you provide more information: what is the command you executed? from which directory? on which platform? what is the whole output? |
I executed "scrcpy" at my scrcpy's directory: “.\scrcpy-win64” |
Can you test it again in scrcpy 1.4? If the adb is missing when we execute scrcpy, it will show on console. Thanks. |
Hello. I'm having 'Could not execute adb push' issue too with 1.4 on Windows 7 x64
But if i unpack archive somewhere else, call command line from that directory and use |
What if you call The release of
Sorry, I didn't get that part. Could you explain with a concrete example, please? |
Case when doesn't work
Case when works
|
OK, I get it. The problem is that If you want your |
Yes, that helped. Put |
@rom1v @npes87184 it still happen in v1.4 ERROR: Failed to execute adb |
@lyuxy Please provide:
|
|
You have What is the result of:
and
? What if you remove |
All same with these steps—— output :version 1.0.32 and find my android device. |
This is not expected. The So the problem is probably that Windows uses your old |
i download scrcpy again. now excute “adb version”in scrcpy's file path,output “v1.0.40”,but it doesn‘t work,i still can't use it. |
Hello, I use the 1.8 version, and I get the same error on mac, tried with adb over usb and wifi and it is the same issue. The adb devices it is showing the phone connected for both cases. How can I fix it? I`ve tried also with compiling the project.. Thank you |
What if you manually execute:
(adapt the path of |
The same issue:
I`ve also posted the issue here: |
On windows, setting SCRCPY_SERVER_PATH copies the scrcpy binaries to /data/local/tmp/scrcpy-server.jar/. |
Which value do you assign to |
Path to the scrcpy-server.jar (e.g. "C:\scrcpy-win64") |
You need to pass its full path: |
v1.9 fixes the problem by searching in the same directory as the binary on Windows, so I'm closing. |
i have this problem too ERROR:could not execute "adb push",and i solved it like this |
Yes! This worked! Thank you! <3 |
Same problem! |
I encountered the same issue. I tried to run it on cmd and it works. |
I the same issue. Update to the latest version and the problem is solved |
Got this issue with win10.
can get my device by
adb devices
The text was updated successfully, but these errors were encountered: