Error:Execution failed for task ‘:app:preDebugAndroidTestBuild’.
Conflict with dependency ‘com.android.support:support-annotations’ in project ‘:app’. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.
implementation ‘com.android.support:support-annotations:27.1.1’
Error:The module ‘app’ is an Android project without build variants, and cannot be built. Please fix the module’s configuration in the build.gradle file and sync the project again.