'Unable to do wireless debugging (ADB) in android
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.
- I have downloaded the AndroidWiFiADB plugin.
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
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."
I have enabled all the possible options of wifi available in developers' options.
Solution 1:[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).
Then using the terminal, ping the device's IP. Pinging must be successful.
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
Solution 2:[2]
Follow these below steps:
- Connect your phone to PC/Laptop with USB.
- Open terminal, go to your
AndroidSDK/platform-toolslocal path and typeadb 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.
Solution 3:[3]
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.
Solution 4:[4]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | Muhammad Awais |
| Solution 3 | Mahavir Jain |
| Solution 4 | Stephan John |

