I have connected several Android devices to my laptop. And I can list their SN on
adb devices
output:
List of devices attached 015d4a826e0ffb0f device 015d4a826e43fb16 device 015d41d830240b11 device 015d2578a7280b02 device
I want to perform some operations on each device, for example
adb -s $device install foo.apk
But I do not know how to allow the variable device iterate all devices received with adb devices .
source share