title: Adb wifi connection with Android 6.0
body: <p>I have a Nexus 6 device with Android 6.0, stock version without root. To avoid to permanently connect device with usb cable i used this <a href="http://developer.android.com/tools/help/adb.html" rel="nofollow">procedure</a>:</p>
  
  <ol>
  <li>I connected the device by USB cable to PC</li>
  <li>type on terminal <code>adb tcpip 5555</code>.</li>
  <li>type <code>adb connect &lt;device-ip&gt;:5555</code> to connect in wifi mode.</li>
  </ol>
  
  <p>When i try to deploy an app from Android Studio, the connection is lost. </p>
  
  <p>I used this procedure many times and with other devices (without Android 6) and i have no problem.</p>
  
  <p>Any idea?</p>