Wireless debugging with ADB (Android Debug Bridge) allows developers to debug their Android applications without the need for a physical USB cable. This feature is particularly useful for testing on multiple devices or when ports are limited. Here's a step-by-step guide on how to enable and utilize ADB wireless debugging:
Requirements
- Android device running Android 11 or higher.
- Latest version of Android Studio or ADB tools installed on your computer.
- Ensure your computer and Android device are connected to the same Wi-Fi network.
Steps to Enable Wireless Debugging
-
Enable Developer Options:
- Go to
Settings>About Phone. - Tap on the
Build Numberseven times to enable developer options. You may need to enter your device's security code.
- Go to
-
Enable Wireless Debugging:
- Open
Settings>System>Advanced>Developer Options. - Turn on
Wireless Debugging.
- Open
-
Configure Wireless Debugging:
- In the
Developer Options, tap onWireless Debugging. - Pair your device by selecting
Pair device with pairing code.
- In the
-
Connect using ADB:
- Open a terminal or command prompt on your computer.
- Enter the following command to list available connected devices:
adb devices - Look for your device's IP address and port in the list provided.
- If it’s not listed, connect your phone through USB temporarily and use
adb tcpip 5555to enable wireless debugging over port 5555, then disconnect the USB.
-
Pair the Device:
- In the terminal, use the
connectcommand with your device’s IP:adb connect <device-ip>:<port> - Replace
<device-ip>and<port>with the values displayed on your device or from your network.
- In the terminal, use the
-
Confirm Connection:
- Verify the connection by issuing the command:
adb devices - Your device should now appear in the list with the status
device.
- Verify the connection by issuing the command:
-
Debug Your Application:
- Now you can use Android Studio or any ADB commands wirelessly as if you were connected via a USB cable.
Tips
- Stay Secure: Always disconnect the wireless debugging option when not in use for security purposes.
- Performance: Wireless debugging might be slower than USB debugging due to network speed limitations.
By leveraging ADB wireless debugging, developers can achieve a more flexible and efficient workflow, especially in environments where moving between devices is common.


