![how to run monitor in android studio 3.0.1 how to run monitor in android studio 3.0.1](https://i.stack.imgur.com/Bw8X9.jpg)
The library implicitly depends on theĪ and libraries.
![how to run monitor in android studio 3.0.1 how to run monitor in android studio 3.0.1](https://developer.android.com/studio/images/debug/layout-inspector-callouts_2x.png)
The guidance in this section applies only if you target Android 9 (API levelĢ8) or higher and the minimum SDK version for your app is set to Android 9 Considerations when targeting Android 9 or higher When auto-generating the test manifest, Gradle adds the necessary Note: If you build instrumentation tests using Gradle, you receive additional To determine the library that contains a given JUnit-based class, see On the library, add the following element to your app's For example, if you add tests that depend To run tests that rely on JUnit-based classes, add theĮlements to your test app's manifest. Note: You only need to include the libraries thatĬontain the classes used in your app. Gradle automatically adds '' as a dependency. dependency to appear on your APK's compile classpath or the test APKĪndroidTestImplementation ':espresso-idling-resource:3.4.0' or "androidTestImplementation", depending on whether you want the The following Espresso dependency can be either "implementation" AndroidTestImplementation 'androidx.test:core:1.4.0'ĪndroidTestImplementation 'androidx.test:runner:1.4.0'ĪndroidTestImplementation 'androidx.test:rules:1.4.0'ĪndroidTestImplementation ':junit:1.1.3'ĪndroidTestImplementation ':truth:1.4.0'ĪndroidTestImplementation ':truth:1.0.1'ĪndroidTestImplementation ':espresso-core:3.4.0'ĪndroidTestImplementation ':espresso-contrib:3.4.0'ĪndroidTestImplementation ':espresso-intents:3.4.0'ĪndroidTestImplementation ':espresso-accessibility:3.4.0'ĪndroidTestImplementation ':espresso-web:3.4.0'ĪndroidTestImplementation ':idling-concurrent:3.4.0'