错误:任务 ':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.c[enter image description here][1]om/r/tools/test-apk-dependency-conflicts.html for details.
最佳答案
我猜你使用的是不同的版本会导致这个问题 gradle中提到了这一点。 所以只需使用相同的版本,您的问题就会解决。 如果问题没有解决,请上传你的 gradle 依赖项以查看并检查
关于android - 在 android studio 中创建项目时出现这个错误是什么我无法理解,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54779790/