Android TV - Troubleshooting

If you cannot find the solution to your problem in the troubleshooting section, please contact us.

Restart SuitestDrive

Restart SuitestDrive after applying any fixes to allow changes to take effect.

ADB system installation

If you are having some unusual problems starting Android TV tests, this might be due to there being two ADB versions installed on the computer running the SuitestDrive that was used to add the Android TV device. A ADB version is installed by SuitestDrive and if you have a local ADB installation then they may collide.

SuitestDrive automatically moves the local ADB executable (if it exits) to the resources folder only after SuitestDrive is restarted. If you are experiencing problems restart SuitestDrive.

Adding Android TV device fails

If adding a device fails, please check/do the following:

  • Reboot the Android TV device.

  • Check that the device is connected to the Internet.

  • The device IP address you specified in Suitest is correct and reachable from the machine hosting SuitestDrive. To check this open cmd (or some other terminal) on the host machine and type ping [ANDROID TV IP ADDRESS] if the ping request does not fail with a conclusive error the IP address is correct.

  • As a last measure restart SuitestDrive or the host computer.

Multiple build.gradle files instrumentation

Your project will contain multiple build.gradle files, do not put the Implementation lines to the one in the root, instead choose the modules which you would like to instrument.

In our case (visible on the screenshot), the Implementation code needs to be put into app/build.gradle. If you would put the Implementation lines to the root build.gradle you would see the same error as on the screenshot in the bottom right.

Implementation lines inserted incorrectly
Implementation lines inserted incorrectly