ERROR: “adb push” returned with value 1 解决
使用
adb start-server
scrcpy.exe –turn-screen-off –window-width 600 –window-height 960 –bit-rate 2M –rotation 0 –stay-awake
然后拔掉USB
scrcpy
远程步骤:
- 先通过usb将手机与电脑进行连接,使用命令
adb tcpip 5555
进行adb端口绑定 - 命令成功执行后,断开usb连接,使用命令
adb connect 手机IP:5555
进行adb连接 - 执行命令
scrcpy.exe
即可打开默认窗口