Tuesday 30 July 2019

How to Debug android App over WIFI(without Root) in android studio Adb

1.you need to connect your device to your computer via USB cable .Make sure Debugging is working .you can check if it shows up when running    adb devices.

C:\Users\Developer\AppData\Local\Android\Sdk\platform-tools>adb devices
        List of devices attached
        S980601711B01366        device


2.Run adb tcpip 5555

C:\Users\Developer\AppData\Local\Android\Sdk\platform-tools>adb tcpip 5555  
      restarting in TCP mode port: 5555

2.Disconnect your device(remove the usb )

4.Go to the settings ->About phone ->status view the IP address of your phone .

5.Run adb connect <IP address of uour device here>:5555

C:\Users\Developer\AppData\Local\Android\Sdk\platform-tools>adb connect 192.168.1.100:5555   
     connected to 192.168.1.100:5555

6.If you run adb devices again ,you should see your device.
C:\Users\Developer\AppData\Local\Android\Sdk\platform-tools>adb devices
        List of devices attached
        192.168.1.100:5555       device

Now you can execute adb command or use IDE for android .