Answers for "connect adb over wifi"

1

adb connect over wifi

Device and PC are connected to same network connection.

1 stay connect via USB

2 adb kill-server

3 adb usb

4 adb tcpip 5555

5 adb connect 192.168.43.1:5555

6 adb devices (must be see two device names , one of them is by deviceIP)

7 unplug USB cable
Posted by: Guest on September-06-2021
11

adb wifi connect

# Connect device via USB and enable USB-debugging in developer options

adb devices
# to get device id

adb -s <device id> tcpip 5555

# Find out the local IP address of the Android device. 
# You can find this information by pressing/long-pressing the WiFi icon in the quick 
# settings drop-down and then clicking the WiFi network you are connected to.

adb connect <IP address>:5555

# done!
Posted by: Guest on May-17-2021
0

connect adb over wifi

# sleep 5 is to wait for the device to restart listening.
adb kill-server && adb tcpip 5555 && sleep 5 && adb shell ip route | awk '{print $9}' | xargs adb connect
Posted by: Guest on April-09-2021

Browse Popular Code Answers by Language