- Connect your Android phone and host computer to the same WiFi network
- Connect your Android phone to the host machine using a USB cable (for starters)
- Run
adb tcpip 5555from the command line - Run
adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d / -f 1"to get the IP address of the phone - USB-
adb connect <ip_address>:5555
logcat, adb logcat Android Monitor Android Studio.