xcesco
xcesco

Reputation: 4838

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?

Upvotes: 5

Views: 7212

Answers (4)

Kamiar
Kamiar

Reputation: 1

After you enter

adb connect <device-ip>:5555

you don't need to connect in Android Studio. It's already connected, just run the project and your phone will be in the list without using a cable.

Upvotes: 0

Craig Capel
Craig Capel

Reputation: 9

If you use windows... (no need for cable at all! Root users)

Craigs auto wifi adb..

Auto connects to pc Auto reconnects if wifi is dropped The apk contains the windows client No typing involved at all for rooted users, no scripts, run the app on android boxes/phones all at the same time!

https://play.google.com/store/apps/details?id=controller.adb.craigs.craigswifiadb

Upvotes: 0

user7736965
user7736965

Reputation:

It works for my G-TiDE V7s (Android 6.0),

I just discovered that I don't need usb cable, not even for the first time as many people think so.

Its just: (do not use usb cable at all)

adb tcpip 5555

Then

adb connect <device-ip>:5555

Upvotes: 3

Vitaliy
Vitaliy

Reputation: 166

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

Upvotes: 3

Related Questions