I\'m able to connect to my phone using adb connect, and I can adb shell also.
But when I go to Run->Device Chooser, there are no devices there.
What should I
Android wifi ADB was earlier working on my IDE but after Updating Android Studio (my current is Android Studio 3.3) it is not working and always prompt as "Unable to connect to device......Same network"
After spending much time i was unbale to resolve the issue.
Then i tried - WIFI ADB ULTIMATE by
https://github.com/huazhouwang/WIFIADB/tree/master/WIFIADBIntelliJPlugin
It worked for me.
All of the answers so far, is missing one VERY important step, otherwise you will get "connection refused" when trying to connect.
Step 1: First enable Developer Options menu on your device, by navigating to the About menu on your device, then tapping the Build menu 5 times.
Step 2: Then go to the now visible Developer Options menu and enable USB debugging. Yes its a bit odd that you need this for Wifi debuging, but trust me, this is required.
Step 3:
adb connect [your devices ip address]
It should say that you're now connected
Here are simple steps to implement Android App debugging using ADB over wifi:
Required: You need to connect android device and computer to the same router via wifi. You can use Android Wifi tethering also.
Step 1: Connect Android device via USB (with developer mode enabled), and check its connection via adb devices
.
Step 2: Open cmd/terminal and the path of your ../sdk/platform-tools.
Step 3: Execute command adb devices
.
Step 4: Execute command adb -d
shell (for device) OR adb -e shell
(for emulator). Here you will get the shell access to the device.
Step 5: Execute command ipconfig
(Windows command) or ifconfig
(Linux command) and check the ip-address of it.
Step 6: Not disconnect/remove device USB and execute command adb tcpip 5000
, to open tcpip socket port 5000 for adb debugging. You can open it on any port which is not currently occupied.
Step 7: Now execute command adb connect <ip-address>:<port>
. eg: adb connect 192.168.1.90:5000
(where ip-address is device's wifi address and port which you have opened).
Now, run adb device
and check the debugging device is now connected wirelessly via wifi.
Happy Coding...!
Got this error? Most of you are here because you didn't do the first thing that is: 1.Connect our Phone with the PC 2.Keep both PC and device connected to the same WiFi Then follow all the mentioned steps above.
Try to run:
adb tcpip 5555
adb connect 192.168.2.4
http://developer.android.com/tools/help/adb.html#wireless
just open settings / plugins / search " Android wifi adb and download it and connect your mobile using usb cabble once and its done