Search code examples
androidadbandroid-6.0-marshmallowadbwireless

Adb wifi connection with Android 6.0


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 procedure:

  1. I connected the device by USB cable to PC
  2. type on terminal adb tcpip 5555.
  3. type adb connect <device-ip>:5555 to connect in wifi mode.

When i try to deploy an app from Android Studio, the connection is lost.

I used this procedure many times and with other devices (without Android 6) and i have no problem.

Any idea?


Solution

  • My device with Android 6.0.0, too, failed to connect, but after the official upgrade to 6.0.1, this problem was solved.