scrcpy: adb-server version mismatch + device offline error
Environment
- Ubuntu 20.04
- scrcpy 1.21
- snap
- device model: Laptop
- Android version: 11
Describe the bug
On terminal command scrcpy
with tcp/ip connected device, I get the following output:
scrcpy 1.21 <https://github.com/Genymobile/scrcpy>
adb server version (41) doesn't match this client (39); killing...
* daemon started successfully
error: no devices/emulators found
ERROR: "adb get-serialno" returned with value 1
ERROR: Could not get device serial
ERROR: Server connection failed
That’s because scrcpy apperently uses an old adb-server version.
When I try connecting with scrcpy’s version using scrcpy --raw-key-events --tcpip=192.168.178.48:39777
, I get:
scrcpy 1.21 <https://github.com/Genymobile/scrcpy>
INFO: Connected to 192.168.178.48:39777
adb: error: failed to get feature set: device offline
ERROR: "adb push" returned with value 1
ERROR: Server connection failed
although I can connect to it just fine with adb connect 192.168.178.48:39777
.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 17
adb devices -l
)