An Issue With Android Support

Applies to TestExecute 15.40, last modified on March 25, 2022

Why Do You See This Message

To communicate with Android devices, TestExecute uses the Android Debug Bridge (ADB) utility from the Android SDK. When starting, TestExecute checks whether an ADB instance is running in the operating system and whether this instance can be used for Android testing. If TestExecute detects an ADB instance that cannot be used for testing, it attempts to terminate it and to start the supported version of ADB. If TestExecute is unable to terminate the currently running ADB instance, it displays this message to inform you about the problem and to suggest possible solutions.

What ADB Version TestExecute Uses for Testing

TestExecute uses the ADB executable that it finds in the folder (or subfolders of the folder) that is specified by TestExecute’s Path to Android SDK setting. This executable is considered to be the version that is included in the Android SDK.

Some software, for example, HTC Sync Manager, includes a custom version of the ADB utility that may function differently than TestExecute expects. To avoid issues, TestExecute tries to terminate “non-standard” ADB instances and to run an ADB instance from the Android SDK.

Possible Causes and Solutions

  • TestExecute does not have enough permissions for terminating the running ADB instance.

    This can happen, for example, if the current instance of ADB has been started by some application that has higher permissions than the permissions, which TestExecute has.

    To solve the problem, terminate the currently running ABS instance manually (see below). Then, return to the message box and choose to continue running TestExecute. TestExecute will launch the supported ADB instance and will use it.

  • ADB does not respond to TestExecute requests.

    It is quite possible that TestExecute recognizes the currently running ADB instance as supported, but is unable to work with it, because it does not respond to TestExecute requests (possibly, it hangs). This can happen, for example, if you have too many devices connected to the current ADB instance. On Windows, ADB cannot handle more than 64 port forwardings (see the issue description in the Android Issue Tracker).

    To solve the issue, disconnect the unneeded devices and terminate the ADB process manually (see below). Then, return to the message box and choose to continue running TestExecute. TestExecute will launch ADB and will use it.

How to Terminate the ADB Process

You can terminate ADB from the Windows Task Manager:

  • Open Windows Task Manager (to do this, for example, press Ctrl+Shift+Esc).

  • On the Processes tab, select adb.exe.

    Note: If adb.exe is not on the list, click Show processes from all users.
  • Click End Process and confirm the action.


  • If you use a “non-standard” ADB version, we would recommend that you uninstall the software package (such as HTC Sync Manager) that includes this non-standard version from your computer.

  • If you start ADB outside of TestExecute, make sure that TestExecute has the same or higher permissions than ADB. For instance, if you started ADB with permissions of your user account, run TestExecute with the same permissions or with administrator permissions.

See Also

Android Options Dialog

Highlight search results