when using ant to install android apps, it will hang if there is no android device connected to the machine. It will just wait for the user to connect one, which interrupts the autonomous nature of the script.
How can I set some kind of conditional statement to check if there are any devices attached to the computer before running the install script?