Created
December 31, 2014 07:36
-
-
Save j796160836/91e77ca819c11ed7bf01 to your computer and use it in GitHub Desktop.
Use to connect android wear with android phone or genymotion
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/bash | |
DEVICE=`adb devices -l | sed '/List of devices/d' | sed '/clockwork/d' | head -n 1 | awk '{print $1}'` | |
adb -s $DEVICE -d forward tcp:5601 tcp:5601 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment