dadb icon indicating copy to clipboard operation
dadb copied to clipboard

Crash with Command failed (host:features): more than one device/emulator

Open anmol-tray opened this issue 1 year ago • 0 comments

I am using DADB but it fails with Command failed (host:features): more than one device/emulator

https://github.com/mobile-dev-inc/dadb/blob/447f9b42acacb4fc854982ddd384220b832828b5/dadb/src/main/kotlin/dadb/adbserver/AdbServer.kt#L128

Exception in thread "main" java.io.IOException: Command failed (host:features): more than one device/emulator
	at dadb.adbserver.AdbServer.send$dadb(AdbServer.kt:99)
	at dadb.adbserver.AdbServerDadb.open(AdbServer.kt:138)
	at dadb.adbserver.AdbServerDadb.<init>(AdbServer.kt:128)
	at dadb.adbserver.AdbServer.createDadb(AdbServer.kt:52)
	at dadb.adbserver.AdbServer.listDadbs(AdbServer.kt:81)
	at dadb.adbserver.AdbServer.listDadbs$default(AdbServer.kt:60)
	at dadb.Dadb$Companion.list(Dadb.kt:251)
	at dadb.Dadb$Companion.list$default(Dadb.kt:250)

anmol-tray avatar Sep 15 '23 09:09 anmol-tray