![](/uploads/1/2/7/1/127164550/425642434.jpg)
![Device Device](/uploads/1/2/7/1/127164550/207630035.jpg)
![Ant Debug Install Specify Device Ant Debug Install Specify Device](http://cdn.softwaretestinghelp.com/wp-content/qa/uploads/2014/11/Apache-ANT-2.jpg)
Explain how to debug my ANT script - Ant script can be debugged in the following ways: By echoing at the place to debug. The problem is easily known. This is similar to printf function in C and System.out.println in Java.
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.
![](/uploads/1/2/7/1/127164550/425642434.jpg)