1

当我想通过 gradle 执行 Android espresso 测试时,我会收到无法安装仪器的错误

10:52:09.094 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':myModule:connectedAndroidTest'.
10:52:10.204 [DEBUG] [org.gradle.api.Project] DeviceConnector 'GT-P3100 - 4.2.2': installing myApp.apk
10:52:34.889 [DEBUG] [org.gradle.api.Project] DeviceConnector 'GT-P3100 - 4.2.2': installing instrumentation.apk
10:53:18.152 [INFO] [org.gradle.api.Project] Starting 0 tests on GT-P3100 - 4.2.2
10:53:18.152 [WARN] [org.gradle.api.Project] Tests on GT-P3100 - 4.2.2 failed: Instrumentation run failed due to 'Process crashed.'
10:53:18.396 [DEBUG] [org.gradle.api.Project] DeviceConnector 'GT-P3100 - 4.2.2': uninstalling de.my.app.test
10:53:20.267 [DEBUG] [org.gradle.api.Project] DeviceConnector 'GT-P3100 - 4.2.2': uninstalling de.my.app
4

0 回答 0