Created
November 7, 2013 13:02
-
-
Save tunitowen/7354248 to your computer and use it in GitHub Desktop.
Shell script to enable ADB over TCPIP
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
#!/bin/sh | |
IP_ADDRESS=$(adb shell ifconfig wlan0 | awk '{print $3}') | |
echo $IP_ADDRESS | |
adb tcpip 5555 | |
adb connect $IP_ADDRESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment