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

调试Instrumentation测试崩溃,正常运行无异常的问题求助

Android Instrumentation测试崩溃问题

执行Instrumentation测试时出现以下错误:

Test run failed to complete. Instrumentation run failed due to Process crashed.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':renetik-android-preset:connectedDebugAndroidTest'.
  • 此前Instrumentation测试功能运行正常,某次更新后无法调试任何该类型测试
  • 使用Gradle 8.1,在Android插件7.4.2和8.0版本下均触发此故障

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.23 21:18:13