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
Closed

adb not work with adbwireless #82

oTnTh opened this issue Aug 14, 2013 · 2 comments

Comments

@oTnTh
Copy link

@oTnTh 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
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
Copy link
Owner

@FauxFaux 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
Copy link
Author

@oTnTh 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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants