【发布时间】:2019-06-19 12:47:20
【问题描述】:
我正在尝试使用图像处理项目,我使用 Firebase 数据库,当我尝试在依赖项中添加 play-services-vision 时出现错误,即“库 com.google.android.gms:play -services-basement 正在 [[15.0.1,15.0.1]] 的各种其他库中请求,但解析为 16.1.0。禁用插件并使用 ./gradlew :app:dependencies 检查您的依赖关系树。'
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:28.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.google.android.gms:play-services-vision:17.0.2'
}
【问题讨论】:
标签: java android firebase google-play-services ocr