Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
106.19k stars 10.29k forks source link

adb.exe: error: more than one device and emulator tcpip #4809

Open LouisPham91 opened 3 months ago

LouisPham91 commented 3 months ago

C:\scrcpy-win64-v2.3.1>adb devices List of devices attached 192.168.1.44:5570 device

C:\scrcpy-win64-v2.3.1>scrcpy scrcpy 2.3.1 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (tcpip) 192.168.1.44:5570 device D6603 C:\scrcpy-win64-v2.3.1\scrcpy-server: 1 file pushed, 0 skipped. 136.0 MB/s (66007 bytes in 0.000s) adb.exe: error: more than one device and emulator ERROR: "adb reverse" returned with value 1 WARN: 'adb reverse' failed, fallback to 'adb forward' [server] INFO: Device: [Sony] Sony D6603 (Android 5.1.1) [server] WARN: Audio disabled: it is not supported before Android 11 INFO: Renderer: direct3d WARN: Demuxer 'audio': stream explicitly disabled by the device INFO: Texture: 1080x1920

LouisPham91 commented 3 months ago

List of devices attached 192.168.1.44:5570 device what happen and the reason why are there still get adb.exe: error: more than one device and emulator pls explain

rom1v commented 3 months ago

adb.exe: error: more than one device and emulator ERROR: "adb reverse" returned with value 1 WARN: 'adb reverse' failed, fallback to 'adb forward'

This is not a real error, this was a bug with adb reverse in old versions of Android, but in that case scrcpy automatically fallbacks to adb forward, so this is not a problem. See #5.

LouisPham91 commented 3 months ago

Thank you for answer my question. Bro is there any older can fix this problem and what the minimum android version didn't get this problem

rom1v commented 3 months ago

There is no problem, that's just a log in the console, it should still works. If it does not, there is another problem somewhere. What do you observe?

LouisPham91 commented 3 months ago

pro i am really like your work and i see some people code back your in c#. link https://github.com/Fusion86/ScrcpyNet So we met problem that more that adb.exe: error: more than one device and emulator. So i just want to fix or at least i know what android version should use for project. Thank you so much!