Electronhub.com - searching electronic component made easy

Android ADB over WiFi without ROOT

Debugging Android application via usb cable connected is difficult, since the cable disconnected every time in my case.

However after searching I found the way to debug the app over wifi on non rooted devices.

#First connect the device to pc and run on terminal

adb devices -l

It will show list of all the connected devices.Ensure your device is visible

#Now run
adb tcpip 5555

set port to any you want

#Now run
adb connect :5555

eg : adb connect
To view your phone IP :
Open Settings -> About Phone -> Status -> IP address

# Now remove your usb cable and again run adb devices -l

 your device should be visible

#Now debug from android studio without cable