How to Debug in Android Studio Using ADB over WiFi

How to Debug in Android Studio Using ADB over WiFi

22 April 2024 Stephan Petzl Leave a comment Tech-Help

Debugging your Android applications can be made significantly easier and more convenient by connecting your device to Android Studio over WiFi. This method eliminates the need for a USB cable, giving you the freedom to move around and test your application more comfortably. In this guide, we will walk you through the steps to connect your device to Android Studio using adb over WiFi.


  • Your Android device and computer must be connected to the same WiFi network.
  • Ensure that you have Developer Options and USB Debugging enabled on your Android device.
  • The adb tool must be accessible from your command line or terminal. If not, you might need to add it to your system’s PATH.

Connecting Your Device

Firstly, you need to establish an initial connection between your Android device and Android Studio using a USB cable. Once connected, you can set up the device for WiFi debugging.

Setting Up ADB over WiFi

  1. Open a terminal or command prompt on your computer.
  2. Navigate to your Android SDK platform-tools directory:
  3. cd path/to/android/sdk/platform-tools/
  4. Start the adb daemon in TCP mode on port 5555:
  5. adb tcpip 5555
  6. Disconnect your device from the USB.
  7. Find the IP address of your Android device. This can usually be found in Settings > About phone > Status, or Settings > Network & internet > WiFi > WiFi network details.
  8. Connect to your device over WiFi using the following command:
  9. adb connect DEVICE_IP:5555

    Replace DEVICE_IP with the actual IP address of your device.

Once connected, your device should now appear in Android Studio’s Device Chooser dialog, allowing you to deploy, run, and debug your applications over WiFi.


If your device does not show up in Android Studio after following the above steps, try the following:

  • Ensure that both your computer and Android device are on the same WiFi network.
  • Restart the adb server:
adb kill-server
adb start-server
  • Reconnect your device using the adb connect command.
  • Enhance Your Testing with Repeato

    While ADB over WiFi improves your flexibility during development, you can take your testing to the next level with Repeato. This No-code test automation tool for iOS and Android enables you to create, run, and maintain automated tests for your apps efficiently. Repeato’s use of computer vision and AI makes it exceptionally quick to edit and run tests, and it is compatible with various app frameworks, including React Native, Flutter, and Unity.

    With ADB built-in, Repeato allows you to execute ADB commands through script steps, streamlining your testing process. Whether you’re making sure your app functions correctly on all devices or you’re implementing continuous integration and deployment, Repeato offers a subtle yet powerful addition to your Android Studio over WiFi setup.

    For more information on setting up ADB and other Android testing tools, check out our articles on Launching Android Applications via ADB, Connecting to Android with ADB over TCP, and How to Run, Install, Debug Android over WiFi.

    Like this article? there’s more where that came from!