Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb not work with adbwireless #82

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

Comments

Projects
None yet
2 participants
@oTnTh
Copy link

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 added a commit that referenced this issue Aug 19, 2013

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.
@FauxFaux

This comment has been minimized.

Copy link
Owner

FauxFaux commented Aug 19, 2013

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

This comment has been minimized.

Copy link
Author

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
You can’t perform that action at this time.