Unable to do wireless debugging (ADB) in android

21.9k Views Asked by At

I have a situation where I need to store some data on USB. There are some errors that occur when I try to attach USB to my android device. I tried to debug my app through ADB. Here is what I have done up till now.

  1. I have downloaded the AndroidWiFiADB plugin.
  2. I have connected my mobile by giving commands through the terminal.

    E:>adb connect 192.168.0.13:5555 connected to 192.168.0.13:5555

    and it shows that my device is connected in the terminal.

    E:>adb devices List of devices attached 0123456789ABCDEF device 192.168.0.13:5555 device

  3. But when I press the AndroidWiFiADB icon I get the following message.

    "Unable to connect to device 'Signature_Touch'. Make sure that your computer and your device is connected to the same WiFi network."

When ever I click on connect it says "Unable to connect to device 'Signature_Touch'. Make sure that your computer and your device are connected to the same WiFi network.

I have enabled all the possible options of wifi available in developers' options. enter image description here

5

There are 5 best solutions below

1
Mahavir Jain On

You can use ADB Wifi Connect to debug the android application via wifi. You can also find it from android studio plugins.

You have to be in the same network to use wifi debugging.

May be help you.

2
Stephan John On

Your Computer and Your Device should be connected to the same network. So that your device can be able to make a bridge connection with your computer.

3
Mahdi-Malv On
  1. Before connecting through WiFi you need to connect the device using USB to authorize the PC in the device (Such thing can't be done through wifi).

  2. Then using the terminal, ping the device's IP. Pinging must be successful.

  3. Then restart ADB and connect to your device.

Update

Since Android 11, you can use Android studio BumbleBee to use built-in "Adb over wifi" feature

3
Muhammad Awais On

Follow these below steps:

  • Connect your phone to PC/Laptop with USB.
  • Open terminal, go to your AndroidSDK/platform-tools local path and type adb devices. That will list down all connected devices.
  • Type: adb tcpip 5555
  • Type: adb connect <your-ip-address>:5555
  • Type: adb devices. That will show your device that is connected wireless with your IP Address and Port.

Then, you can enjoy Wireless debugging.

Note: You need to have same network on your PC/Laptop and on your phone.

0
Henrique de Sousa On

Sometimes it happens that you need to connect your Android via USB first, in order to trigger the device key authorization dialog. Hope this helps someone.