How can i use adb via wifi?

I am debugging USB devices connected to my Android phone, which means that I can not use ADB via USB connection. How to connect to adb via WiFi?

Note. A similar question here applies to adb over tcp, however I specifically ask about WiFi.

+20
source share
3 answers
  • 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.

+62

Android Studio. AndroidWifiADB Android Studio.

+3

wifi Wifi-ADB. SuperSU, , Android-, Wi-Fi, .

+1

Source: https://habr.com/ru/post/1015139/


All Articles