1、异常:Resolved versions for app (26.1.0) and test app (27.1.1) differ。
解决:在build.gradle(module) dependencise中添加
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:22.1.0'
}
图示:
2、异常:Plugin with id 'com.github.dcendents.android-maven' not found.
解决:在build.gradle(project) dependcies中添加:
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
图示: