Tuesday, November 26, 2013

[android-developers] Re: How to direct adb commands to specified device?

It seems -s works only with real devices' serial numbers (and emulator generated names, AFAIK), not with IP addresses.

El miércoles, 28 de septiembre de 2011 09:32:23 UTC-3, Vasyl Boyko escribió:
Hello. How to direct adb commands to specified device?

I have two devices:
> adb devices
List of devices attached
172.24.226.35:5555      device
MT-ndQmBAnwoVyC3ikKVCNc5yqC     device

I'm tried:
> adb -s MT-ndQmBAnwoVyC3ikKVCNc5yqC forward tcp:8080 tcp:8080
everything ok,

but when
> adb -s 172.24.226.35:5555 forward tcp:8080 tcp:8080
error: unknown host service
or
> adb -s 172.24.226.35 forward tcp:8080 tcp:8080
error: device not found

What's wrong?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate