I am currently having a problem with debugging Android 6.0 over Wi-Fi. I followed the steps of this, however, when I try to execute the adb shell netcfg command, I get "/ system / bin / sh: netcfg: not found". In addition, even the graphical ADB parameter across the network in the Developer Options menu has disappeared.
I also tried this post problems with Android, because netcfg seems to be outdated, and I got: WFSO failed.
It works great before I upgrade to Android 6.0.
Does anyone know another command or debugging method over Wi-Fi?
Thank you in advance
Decision
Use adb shell ifconfig <interface name> as a response from Rilwan to find out the IP address of the device. Then use adb connect <ipaddress> for final debugging over Wi-Fi. The real problem was just the missing netcfg command.
source share