Android Studio wireless ADB error (10061) (TV)

Viewed 2805

I see lots of posts everywhere showing how to connect to Android device using adb connect <ip> but in my case it's not working...

unable to connect to <ip addr>:5555: cannot connect to <ip addr>:5555: No connection could be made because the target machine actively refused it. (10061)

  • Developer mode is OK;
  • USB debugging is OK;
  • Both computer and device are connected to same network;
  • There is no USB port to plug (Android TV)

Before I was using another brand and it worked fine, I could connect it over wifi no problem, but after I switched to this brand called MXQ I can't manage to work it anymore. Any ideas? Thanks.

2 Answers

After long try I could finally find the solution. If anyone needs it, here is what I did.
On this brand (MXQ) there is two ways to access settings. The traditional Android way and:

  1. Open Apps on the device and locate the App called settings
  2. Enable USB debugging
  3. After that you will be able to connect via USB (type A) available on the device
  4. Connect to Android Studio just like usual.

*You will need a USB type A to A to do that..
** Make sure your USB cable has data wires (check usb)

You have to do following steps (In most cases this happen in Huawei devices)

  • Revoke USB debugging authorizations Allow ADB debugging in charge

  • only mode (I think this fixed the issue) Turn off Always prompt when connecting to USB

Main steps:

open Cmd,

  1. adb kill-server
  2. Connect your phone with usb cable and enable debugging and select file transfer (MTP)
  3. adb tcpip 5555 (Port Number)
  4. Disconnect device unplug usb cable
  5. adb connect YourDeviceIpAddress:5555
Related