scrcpy: Fails with more than one device or emulator.. even if theres only one device

adb devices
List of devices attached
192.168.100.5:5555      device
 scrcpy                      
/usr/share/scrcpy/scrcpy-server.jar: 1 file pushed. 0.3 MB/s (19334 bytes in 0.070s)
error: more than one device/emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'

Version:

 scrcpy -v
scrcpy v1.1

dependencies:
 - SDL 2.0.8
 - libavcodec 57.107.100
 - libavformat 57.83.100
 - libavutil 55.78.100

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16

Most upvoted comments

adb: error: more than one device/emulator
ERROR: "adb reverse" returned with value 1
```

This is an expected error message (see #5), but then it fallbacks to adb forward, so this is not the problem.

Aborted

Probably #944. Try v1.10 or dev branch instead. Could also be #268 (see #956).

but the error (impt?) still shows up.

That’s expected (see https://github.com/Genymobile/scrcpy/issues/5). 👍

I’ve got an emulator running and a device.

Then use scrcpy -s SERIAL, with the serial as printed by adb devices.

yeah, it works,!

On Jan 22 2019, at 12:54 pm, Romain Vimont notifications@github.com wrote:

@pablitok (https://github.com/pablitok) So it works? (if it does not, please paste the whole scrcpy output)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/Genymobile/scrcpy/issues/121#issuecomment-456451220), or mute the thread (https://github.com/notifications/unsubscribe-auth/AF93JyfM6LNN7Ya0x3C11S38ER8zsIJ5ks5vFzQsgaJpZM4TVDRH).

@rom1v Yes, it works with v1.2, but the error (impt?) still shows up.