-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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: "adb push" returned with value 1 #185
Comments
Which system? Put the path of your |
@Jesna12 - Is that all there is to the error? Was there anything else with it? For example, I had this error
And it was because I had an emulator running. |
This error occurs every time the |
Yep, the above was an example, I believe @Jesna12 only copied the last line in that response. |
you need find YOUR_DEVICE_CODE
|
I tried providing device code along with scrcpy. Then the error says "adb: error: cannot stat 'scrcpy-server.jar': No such file or directory ERROR:adb push returned with value 1" |
|
Hello, I'd like to mirror my Oculus Go on my MacBook with adb & scrcpy. MacBookPro 14.2 For this I set the Oculus Go in the developer mode. Now I enter the following commands: ./adb shell ip route (to get the IP address) Now I go with the terminal into the directory where Scrcpy is located and try the following commands: scrcpy -b 25M Then I get the following error messages with each command: Can someone help me here? Greetings |
Thx rom1v Thank you, but I think that my scrcpy does not work! For example, if I enter scrcpy in the terminal and correct path, the same error message comes up! 2018-08-16 21: 58: 20.234 scrcpy [1148: 73353] ERROR: "adb push" returned with value 1 Does anyone have an idea here? |
What is the result of |
Maiks-MBP:platform-tools maiksteidel$ ./adb devices Maiks-MBP:platform-tools maiksteidel$ ./adb connect 192.168.178.49:5555 |
And then |
Yes, I do not connect the device at all. Can you check if scrcpy works at all? |
Yes, it does 😉 When you get this Does scrcpy work over usb? What is the result of |
Hello, many thanks for your help. |
When you get this adb push error, does adb shell works? Does scrcpy work over usb? What is the result of scrcpy -v? scrcpy v1.3 dependencies:
I am very grateful for your time. Thank you :) |
Does Does this command work:
? And this one:
? |
"Does /usr/local/share/scrcpy/scrcpy-server.jar exists?" "Does this command work: "And this one: |
Yes, please (at least a part of it). Does it start with something like:
?
So it does not find your What is the result of |
Ah, I just noticed that you executed You can specify a custom path for your adb:
Alternatively, you could install
|
When I following command ... I will always try this now and hope that it continues to work. Your suggestion... I will try to repeat this day by day and would be happy if the problem is solved. Maik |
👍
😨 You might also be interested in: |
When I try to mirror my android phone it says
Please help me :'( |
i got same issue here please |
Does your phone enable adb debugging? |
I have ran into this issue a few times and disabling and enabling USB debugging fixes it. |
I had the same issue, it seems there was a spelling mistake. The file "scrcpy-server.jar" was named "scrpy-server.jar" in my machine |
pls Where i write "scrcpy -s (my_number-serial)"? :( |
On Windows (I guess):
|
If you're on Windows, you don't have to edit your path. Just copy adb into the scpy folder:
PS C:\Users\MaL\Downloads\scrcpy> cp 'C:\Program Files (x86)\Minimal ADB and Fastboot\adb.exe' . PS C:\Users\MaLaCoiD\Downloads\scrcpy> .\scrcpy.exe |
I am getting the same error but I don't understand what I have to do please help |
Ketikkan 'adb kill-server' , lalu enter. |
adb: error: failed to get feature set: no devices/emulators found (means there is connectivity issue setup tcpip on device if havent already ) ERROR: "adb push" returned with value 1 (means its unable to locate the file to be pushed in device so lookout if the file "scrcpy-server.jar" is accessible remove env vaeiable that might cause the issue or set value as the file location |
I too faced the same issue. After doing this it is working fine for me.
Before this try with the following cmds from scrcpy console:
|
i faced the same issue and yet my solution is not listed here so for some arch linux people:
|
ERROR: "adb push" |
adb: error: failed to get feature set: no devices/emulators found |
[solved] I'm a ubuntu user and in my case the problem was I had two versions of adb:
When I tried
But when I tried with |
SOLVED: I set my USB mode to PTP. I am trying to install the version 1,17. I tried it on a WIN10 machine as well as a Microsoft Surface tablet and I have this same issues. I am using a LG G4 phone I tried to use this approach to solve it but it doesn't work. Any other ideas? https://www.youtube.com/watch?v=II58ejjp3gQ&ab_channel=AbdulAzizAhwan |
db: blunder: neglected to get include set: no gadgets/emulators found Mistake: "adb push" got back with esteem 1 Personaly I tackled the issue in downloading "General ADB Driver v6.0" here: and in introducing it in adhering to the guidelines here: After that my Redmi note 8 expert was perceived consummately by scrcpy and no mistake messages any longer. |
Try with a lower definition scrcpy -m 1024 |
it could be that the device is not enabled as developer mode. |
No meu caso, o erro estava ocorrendo por conta de um mal contato do cabo usb, a todo momento em que eu mexia no cabo ele desconectava e não conectava mais, passando a mostrar esta mensagem, ou substituir o cabo o problema foi resolvido. |
Also works in Win. |
Hello, I used scrcpy and it was very good but when I used it on the other device it said ("adb push" returned with value 1) also The difference between the two is that I did usb debugging in the first, but I can't on the other THx ^-^ |
Without USB debugging enabled, adb (and scrcpy) can't work. |
C:\scrcpy>scrcpy help |
Just read the FAQ: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#adb-issues Btw, scrcpy v1.11 is very old, the latest is v1.19. |
I had this issue too. I was caused by another device already connected via adb. |
I had a similar problem with strcpy on linux mint xfce. Everything worked when I enabled USB_DEBUGGING in my Android phone in developer mode |
I have a old PC TOSHIBA SATELLITE running linux mint xfce (last version). When USB_DEBUGGING is turned off on my android phone, I got this message:
When USB_DEBUGGING is allowed, after the command scrcpy, the screen of my android phone is displayed on my PC correctly |
just downgrade to version 1.5 then some error about scrpy adb uncompatybile
then copy from android studio adb.exe + 3 dll and adb and its start working |
Why would you do that?
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions |
When I try to run this scrcpy cmd from eclipse, it says 'ERROR: "adb push" returned with value 1'. please help.
The text was updated successfully, but these errors were encountered: