Now debug with Wifi ADB without Root your Android Device in two simple commands.
ADB path should be set to environment variable path or atleast should be aware of location of adb.exe
Your device must have a OS version of 4.0.4 or higher.
You are going to execute two simple commands of which first command is needed only once. Open the terminal window. It may be either
- the terminal session available in Android Studio or
- the simple terminal window opened by typing ‘cmd’ in run command (Ctrl + R)
Step 1 : Connect your device with USB
As I said, this is the initial set up and will be required only once.
Type “adb tcpip “ in terminal which instructs to restart the adbd daemon listening on TCP on the specified port
Eg. adb tcpip 5555
Step 2 : Remove your device from USB
This is the command you really need to connect your device to adb via wifi.
Type “adb connect <host>[:<port>]” in terminal which instructs to connect to a device via TCP/IP. Port 5555 is used by default if no port number is specified.
Eg. adb connect 192.168.1.106
After executing the command, make sure that your device is connect by checking the device list in Android Logcat (Alt+6 in Android Studio)
You can execute these commands in any terminal window.