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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

