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.
There were failing tests. See the report at: file:///home/circleci/code/app/build/reports/androidTests/connected/index.html
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.
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
Saw a similar error when running a test on an emulator unrelated to circleci. It was due to lack of storage space. Freeing some memory and retrying fixed it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With