Reputation: 4838
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:
adb tcpip 5555
.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
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
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
Reputation:
It works for my G-TiDE V7s (Android 6.0),
Its just: (do not use usb cable at all)
adb tcpip 5555
adb connect <device-ip>:5555
Upvotes: 3
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