Android 插桩测试任务执行失败::app:connectedDebugAndroidTest 报错求助
Android 插桩测试任务执行失败::app:connectedDebugAndroidTest 报错求助
各位好,我最近在运行Android插桩测试的时候卡壳了,试了好几种排查方法都没搞定,想请大家帮我分析下问题出在哪,或者给点下一步的排查方向,感激不尽!
我遇到的具体报错信息如下:
[Incubating] Problems report is available at: file:///D:/Desktop/software/Kotlin/NoteApp/build/reports/problems/problems-report.html Execution failed for task ':app:connectedDebugAndroidTest'. > There were failing tests. See the report at: file:///D:/Desktop/software/Kotlin/NoteApp/app/build/reports/androidTests/connected/debug/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 7s 75 actionable tasks: 1 executed, 74 up-to-date
我已经尝试过以下几种解决办法,但都没起作用:
- 清理项目(执行Clean Project操作)
- 重启模拟器
- 关闭Windows Defender
- 检查测试配置项
目前实在没头绪了,麻烦大家帮忙看看我还能排查哪些点,或者这个报错背后可能藏着什么问题?谢谢大家!
内容来源于stack exchange
相关产品推荐
相关产品推荐

