adb not work with adbwireless #82

Closed
oTnTh opened this Issue Aug 14, 2013 · 2 comments

Projects

None yet

2 participants

oTnTh commented Aug 14, 2013
R:\>adb connect 192.168.1.120
connected to 192.168.1.120:5555

R:\>adb devices
List of devices attached
192.168.1.120:5555      device

Which Host Name should I use?

Thanks.

@FauxFaux FauxFaux added a commit that referenced this issue Aug 19, 2013
@FauxFaux FauxFaux GH-82: epic hack: adb allows :-prefixed serials
This allows serials containing colons to sneak through the PuTTY hostname
mangling code; it thinks they're ipv6 addresses, so doesn't go and strip
and discard the port.

This is useful for adbwireless, which generates serials of the form
"ip:port", e.g. "192.168.0.2:5555".  Now ":192.168.0.2:5555" is valid.
9aa4dd3
Owner

If you only have one device, the default (now called -a, previous called :) will allow you to connect to an adbwireless device.

As of the above fix (in the next release!), you can use :192.168.1.120:5555. Note the colon prefix.

(This is an awesomely dirty hack, but doesn't seem like it'll break too much.)

@FauxFaux FauxFaux closed this Aug 19, 2013
oTnTh commented Aug 19, 2013

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment