title: Android adb over Wifi install apk
body: <p>I have been using ADB on the command line to install apk's via USB. Now I have succesfully connected via Wifi. I am able to install apps.</p>
  
  <pre><code>./adb.exe connect 192.168.2.143
  connected to 192.168.2.143:5555
  
  ./adb.exe install -r xyz.apk
          pkg: /data/local/tmp/xyz.apk
  Success
  </code></pre>
  
  <p>The problem is that adb doesn't close after 'Success'. It just hangs. If I tether the phone via USB ADB will close correctly after installing an app.</p>
  
  <p>This is a problem as I would like to write a script which uploads the apk to a number of phones all connected via Wifi. </p>