Is there a a way to run the command 'ant debug install' when there are multiple android devices connect through ADB?
I currently have two devices connect to ADB through wifi. When I run ant debug install I get the following error ad infinitum.
[exec] error: more than one device and emulator
[exec] - waiting for device -
[exec] error: protocol fault (status read)
[exec] - waiting for device -
[exec] error: protocol fault (status read)
[exec] - waiting for device -
[exec] error: protocol fault (status read)
[exec] - waiting for device -
[exec] error: protocol fault (status read)
[exec] - waiting for device -
[exec] error: protocol fault (status read)
[exec] - waiting for device -
[exec] error: protocol fault (status read)
If I disconnect one of the devices, it will properly run.
I also tried
ant debug install [ip of specific device]
this provided the same erroneous results.
Is there a way I can install to both devices at once?