You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用CircleCI构建Android Espresso测试时遇UTP测试套件平台错误

CircleCI构建Android Espresso Instrumentation Tests报错:Unknown platform error occurred when running the UTP test suite.

Task :app:connectedDebugAndroidTest FAILED

测试结果已保存至file:/home/circleci/code/app/build/outputs/androidTest-results/connected/test-result.pb。可在Android Studio中通过菜单栏选择Run > Import Tests From File并导入该文件查看详细结果。

FAILURE: 构建因异常失败。

问题原因

  • 任务:app:connectedDebugAndroidTest执行失败
  • 存在测试失败情况,详情可查看报告:file:///home/circleci/code/app/build/reports/androidTests/connected/index.html

建议尝试

添加--stacktrace参数运行以获取堆栈跟踪
添加--info或--debug参数运行以获取更多日志输出
添加--scan参数运行以获取完整分析信息

如需更多帮助,可查看Gradle官方帮助文档。


BUILD FAILED in 12s
74个可执行任务:1个已执行,73个已是最新状态

<-------------> 0% WAITING> IDLEMax tries reached (2)

退出码:exit status 1


内容的提问来源于stack exchange,提问作者RockyGlobal

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.23 04:15:20