3

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

Amin Pinjari
  • 2,129
  • 3
  • 25
  • 53
J.Doe
  • 53
  • 1
  • 1
  • 8

4 Answers4

4
  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

Mahdi-Malv
  • 16,677
  • 10
  • 70
  • 117
  • I have tried ping the device it shows some reply from device and statistics but it still does not work. – J.Doe Oct 03 '19 at 11:57
  • 1
    No need for a usb cable if you use the adb pair : command and follow prompts for Pair device with pairing code in Wireless debugging on the device. – Eric Dec 08 '22 at 21:35
4

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.

Muhammad Awais
  • 448
  • 5
  • 17
0

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.

Mahavir Jain
  • 1,448
  • 10
  • 23
  • I am already connect to my device in terminal. I am using same wifi that's why I am connected. – J.Doe Oct 03 '19 at 11:01
0

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.

Stephan John
  • 331
  • 1
  • 2
  • 11