When trying to build android app Espresso Instrumentation Tests with circleci Unknown platform error occurred when running the UTP test suite.
Task :app:connectedDebugAndroidTest FAILED
Test results saved as file:/home/circleci/code/app/build/outputs/androidTest-results/connected/test-result.pb. Inspect these results in Android Studio by selecting Run > Import Tests From File from the menu bar and importing test-result.pb.
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:connectedDebugAndroidTest'.
There were failing tests. See the report at: file:///home/circleci/code/app/build/reports/androidTests/connected/index.html
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 12s 74 actionable tasks: 1 executed, 73 up-to-date
<-------------> 0% WAITING> IDLEMax tries reached (2)
Exited with code exit status 1