Created
July 17, 2019 12:22
-
-
Save lego-sharat/6f394cdc8a082322c6d27e8a0d917c82 to your computer and use it in GitHub Desktop.
Useful adb commands for working with devices over wifi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//The information below is taken from https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp | |
//To connect to an adb device over wifi | |
adb tcpip 5555 | |
adb connect <ip_address_of_device>:5555 | |
//To find out ip address of the device | |
adb shell ip -f inet addr show wlan0 | |
//To disconnect | |
adb disconnect <ip_address_of_device>:5555 | |
//To tell the ADB daemon return to listening over USB | |
adb usb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment