FlexiHub Team uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.
Olga Weis Olga Weis Sep 6, 2023

Android Remote Debugging for Developers' Teams

Remote debugging of Android devices can be challenging without the right tools. Development teams often need to test their software on multiple devices to ensure all issues have been effectively resolved. FlexiHub is a subscription-based software that allows for remote Android testing over the Internet. Click below to get started or keep reading for more information on this effective solution.


Windows, macOS, Linux, Android 4.8 Rank based on 386+ Reviews
Remote debugging of Android devices

When do you need remote debugging Android devices?

The ability to perform Android remote testing can be instrumental when developing a new app. You may find that a bug is affecting a device in another country or a distant location and need to access the device remotely. Another instance where you may want to remotely debug Android devices is when you have a team of developers distributed across multiple physical locations.

When you cannot physically access the device, Android remote device testing is the answer. FlexiHub is a great way to implement the connectivity you need to remotely debug Android devices from anywhere with an Internet connection.

remote debugging Android devices

Remote debug Android with FlexiHub

FlexiHub lets you access a remote Android device without going through the rooting process. The following simple steps demonstrate how to connect to a remotely located Android device.
Register for a FlexiHub account to begin your free demo.
 register a FlexiHub account
Download and install the app on the computer (server) attached to the Android device.
 download and install the app
Download and install FlexiHub on the computer that will be used to perform the Android remote debugging.
Start the app on the server and click "Connect" next to the USB device you want to access remotely.
 download and install the app
Once you share the USB-connected device, it is accessible from any computer that has FlexiHub installed and an Internet connection. FlexiHub works with all operating systems and eliminates the problem of physical distance.

The tool also supports iOS remote debugging. You can efficiently work with a distributed team to debug issues on your Android devices.

Team account benefits for remote Android debugging with FlexiHub

If multiple developers and testers will be involved in a project, they may all need to access the devices from different locations. You should strongly consider a FlexiHub Team subscription that lets everyone on the development team perform remote Android debugging. You can enjoy the following benefits with a FlexiHub Team subscription.

     ✅ A single account for the whole team. You can share connections among all team members. You can also designate a maximum number of connections that a specific developer or tester can simultaneously create.

     ✅ Streamlined billing with no need to purchase a subscription for each team member. All team members and connections are included for one price.

     ✅ Easily locate teammates by searching for them by name and invite them to remotely connect to devices connected to your USB or serial ports.

USB sharing with FlexiHub
30-day demo period

Alternative solution - ADB over Network

An alternative solution exists for remotely accessing Android devices but it is more limited than FlexiHub. This method, called ADB over network or TCP/IP debugging can only connect over a LAN. It can be used to establish wireless connections to a rooted Android device without a USB cable. A cable will be needed to change the debugging mode on non-rooted devices. This technique simplifies sharing an Android device with a group of developers.

Steps for remote Android debugging with ADB over network method

This method requires that the Android device is rooted. If it is not, you will need to root the device before proceeding. The following steps are necessary to debug remote Android with ADB over the network.

If the device is not rooted, you will need:

  • A computer with the Android SDK installed;
  • A USB cable;
  • The Android device that will be recognized as an ADB device.

Now follow these steps:

  1. Connect the Android device to the computer using a USB cable.
  2. Open a terminal, for example, by executing cmd.exe.
  3. Access the platform-tools folder of your Android SDK with this command: “C \Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\\platform-tools”
  4. Execute this command “Adb tcpip 5555” replacing 5555 with the port that will be used to listen for incoming connections.

If the device is rooted, you need one of these items:

  • A terminal emulator application installed on your Android device;
  • An application that allows you to access TCP/IP debugging mode for ADB over network;
  • A menu setting to enable TCP/IP debugging mode. This may be available in the ROM in the "Developer settings" menu. It might be called ADB over network.

Now, enable TCP/IP debugging mode on the rooted Android device with the following steps.

  1. Enable TCP/IP debugging mode or ADB over network in the device’s "Developer settings".
  2. Run the following commands in a terminal emulator:
    setprop service.adb.tcp.port 5555 changing 5555 the port you will use.
    stop adbd
    start adbd

  3. Use an application that enables TCP/IP debugging.

Connecting to the remote Android device requires you to know the IP address of the device. Use one of these methods to obtain the device’s IP address:

  • Check your device settings which are typically found in Settings > Wi-Fi > Advanced Wi-Fi.
    This may be different based on your OS and device manufacturer.
  • Look for the IP address of your device on your network router’s settings page.
  • Run the adb shell netcfg in the "platform-tools" directory of your Android SDK installation

Establishing a connection to the Android device

  1. Run the following comment from the development machine in the "platform-tools" directory of your Android SDK installation: adb connect :. Use the IP address located previously and the port you will use for the connection.
  2. A successful connection with result in the command window displaying connected to :. The connected Android device will be visible in the Projects Window. The adb devices command lists all connected ADB devices.

Disconnecting from a remote Android device

To disconnect from the Android device, run the adb disconnect : command on the development machine.

You can also opt to reset the debugging mode on the device. Debugging mode is reset when you restart the device. You can reset debugging mode without a restart with the following procedure.

  1. Run the adb usb command on the remote machine connected to the Android device with a USB cable.
  2. Run the following commands in a terminal emulator on the device:
    setprop service.adb.tcp.port -1
    stop adbd
    start adbd
Top choice
  • 4.8 overall rank based on 386+ Reviews
  • Windows, macOS, Linux, Android and Raspberry Pi.
  • 10.45MB Size.
  • Version 6.1.15025. (19 Feb, 2024).