The push operation failed. However, a manual push was successful. Therefore, an additional parameter --no-push was added.#6850
Open
Klosw wants to merge 6 commits into
Open
The push operation failed. However, a manual push was successful. Therefore, an additional parameter --no-push was added.#6850Klosw wants to merge 6 commits into
Klosw wants to merge 6 commits into
Conversation
Collaborator
|
The server must be pushed, so I don't see how this option would help. |
Author
因为在我的电脑上 使用, srcpy 上的 无法 推送 显示推送失败 , 但是手动推送又能成功 . 或者是 让用户手动推送 ,跳过srcpy 的推送 或许是我电脑有些什么特殊性质把 ,这个就放这里把 . |
Collaborator
That's not expected, since Did you overwrite the set ADB=adb.exe
scrcpyor set ADB="D:\APP\scrcpy\adb.exe"
scrcpy? |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

scrcpy 4.0 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (usb) 9A231FFAZ0098F device Pixel_4
INFO: (tcpip) 192.168.24.193:5555 device SA8255_Cockpit
ERROR: CreateProcessW() error 5
ERROR: Failed to execute: [adb], [-s], [9A231FFAZ0098F], [push], [D:\APP\scrcpy\scrcpy-server], [/data/local/tmp/scrcpy-server.jar]
ERROR: Could not execute "adb push"
ERROR: Server connection failed
D:\APP\scrcpy>adb -s 9A231FFAZ0098F push D:\APP\scrcpy\scrcpy-server /data/local/tmp/scrcpy-server.jar
D:\APP\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 23.6 MB/s (732230 bytes in 0.030s)
The push operation failed. However, manual push was successful. Therefore, an additional parameter --no-push was added, combined with the script runnopush.bat to achieve preview.
push Failed 但是 手动 push 又能成功 所以添加了 一个 --no-push 的参数 结合脚本 runnopush.bat 实现预览