From 61cea25ef83e8f08b2b2410ee3d7ab1706cb17d6 Mon Sep 17 00:00:00 2001 From: "j.r" Date: Wed, 13 Sep 2023 15:33:44 +0200 Subject: [PATCH] Mention ANDROID_SERIAL if multiple devices are connected --- devices.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices.go b/devices.go index 1ffdc86..f662b00 100644 --- a/devices.go +++ b/devices.go @@ -64,7 +64,7 @@ func maybeOneDevice() (*adb.Device, error) { return nil, fmt.Errorf("ANDROID_SERIAL set, but no device with this serial found") } if len(devices) > 1 { - return nil, fmt.Errorf("at most one connected device can be used") + return nil, fmt.Errorf("at most one connected device can be used, if ANDROID_SERIAL was not set") } return devices[0], nil }