I am writing a small gradle plugin where I need to use the adb command. My question is how does the installDebug
task know all the devices? By default it will been installed on all devices. I found the installTask
but there is no -s
argument for specifying a device.
How did they manage that in the Android gradle plugin?
Bonus question: In Android Studio I can select a special device, how can I know that from the gradle script?