0
votes

I've started using adb over WiFi but am having trouble now connecting my phone to an Android watch emulator.

When pairing a usb-connected phone to a watch emulator I need to do some port forwarding between the emulator and the phone:

adb -d forward tcp:5601 tcp:5601

How can I do this forwarding between a wifi-connected phone and a watch emulator?

Below is a list of the devices:

~ adb devices
List of devices attached
emulator-5554   device
192.168.0.100:5555  device
1

1 Answers

0
votes

You need to specify which device you want to forward to by using the -s option:

adb -s 192.168.0.100:5555 forward tcp:5601 tcp:5601