当我尝试运行我的测试时,这个错误就会出现。这只是在我将Firebase Perf添加到我的项目之后。 at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:213$2.call(TransformTask.java:222)
at com.android.build.gradle.internal.pipelin
我花了一整天的时间用Espresso建立Junit4工具测试,但似乎无法完成最后一步。无论我做什么,它都不会识别onView()方法。我尝试过多个SDK/support版本,到目前为止还没有。分级版本:com.android.tools.build:gradle:1.5.0apply plugin: 'com.android.application'
apply plugin:this dependency to build and run Espres
(未知来源:19) android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1392) at android.app.Activity.performStart(Activity.java:7252) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:2970) at android.app.servertransaction.TransactionEx
自从Android 10 Android 10 Privacy changes的隐私改进后,我注意到我在Kotlin中的屏幕截图失败测试观察器规则,它扩展了Espresso BasicScreenCaptureProcessor当前实现概念与How to take screenshot at the point where test fail in Espresso?- gradle目录中,但connectedAndroidTest gradle任务会在最后删除应用程序以及上面列出的<e