Typical way is
- Connect PC to the device with USB Cable.
adb tcpip 5555adb connect 192.168.xxx.xxx:5555
However, what if the device manufacturer doesn't recommend this way. But connect them directly wirelessly?
What they say is
- PC and Device must use the same Wifi
- Check IP address of the device.
adb connect 192.168.xxx.xxx:5555
And I found this blog that says I don't need to connect USB to the real device. But run anything adb to detect any one device.
- Run an emulator.
adb tcpip 5555adb connect 192.168.xxx.xxx:5555
However, I get Connection refused error with the second and third method. What should I do? How can I debug this device?
*The port 5555 is not being used.