mcpixel
Newbie
I do according to this instruction:https://developer.android.com/studio/test#use_separate_test_modules_for_instrumented_tests
After I replaced apply plugin: 'com.android.library' with apply plugin: 'com.android.test' I got this error:
No actions that the studio offers naturally work. What to do?
After I replaced apply plugin: 'com.android.library' with apply plugin: 'com.android.test' I got this error:
Code:
ERROR: Gradle DSL method not found: 'testImplementation()'
Possible causes:
The project 'app5' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
Upgrade plugin to version 3.4.2 and sync project
The project 'app5' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper file
The build file may be missing a Gradle plugin.
Apply Gradle plugin