Adb wifi connection with Android 6.0
Asked Answered
A

4

5

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?

Anestassia answered 9/12, 2015 at 23:21 Comment(0)
A
3

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

Adorn answered 30/12, 2015 at 13:31 Comment(2)
I second this. Wireless adb connection is completely broken in Android 6.0. Updating to 6.0.1 fixed the issue.Coumarone
my s6 has 6.0.1 and as long as i leave the USB cable plugged in the "adb wifi" connection lasts, but as soon as i unplug it ( or it randomly dies ) i lose the connection and get the dreaded "actively refused" message when trying to reconnect...Devoted
C
3

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

Cullender answered 10/4, 2017 at 0:24 Comment(5)
you can't set tcpip if you have no devices connected at the momentImminent
Work for me, you save my day! ThxErigeron
Work for me without usb cable. :)Locate
It's working on Android 9.0, no need for a cable @all, please test it 1st before the judge, user25.Wingding
Confirmed Jan 2020 on Android 8.0.0. Much simpler!Intisar
H
0

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

Heber answered 9/5, 2017 at 4:24 Comment(2)
If, as seems likely, this is your software, you should be a bit more explicit about your link to it. Also, make sure you're doing a lot more than simply hawking your products here, with the majority of your answers having little or nothing to do with them (or explaining to existing users how to program with your products, like an MS rep answering coding questions about VS or C#).Forsyth
craig+s wifi adb worked on my tv box android 6.0.1 tksCatgut
B
0

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.

Brain answered 14/8, 2019 at 16:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.