I am debugging USB devices connected to my Android phone, this means I cannot use ADB over a USB connection. How can I connect to adb over WiFi?
Note: Similar question here refers to adb over tcp, however, I'm specifically asking about WiFi.
ADB is normally used on Android via a USB cable. But you can also set up and use ADB wirelessly.
adb tcpip 5555
from a command promptadb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"
to obtain the phone's IP addressadb connect <ip_address>:5555
You can now view logcat output by running adb logcat
or by viewing the Android Monitor tab within Android Studio.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With