首页 > 解决方案 > 是否没有退出接口库的 v7.28:0:0?

问题描述

我收到 All com.android.support library must use the exact version specification 的错误。

这是我收到错误“实施'com.android.support:appcompat-v7:28.0.0'”的地方

我有com.android.support:exifinterface-v7:27.0.0我不知道为什么它没有版本28。请帮助我T_T

dependencies {
 implementation fileTree(dir: 'libs', include: ['*.jar'])
 implementation 'com.android.support:appcompat-v7:28.0.0'
 implementation 'com.android.support:support-v4:28.0.0'
 implementation 'com.android.support.constraint:constraint-layout:1.1.3'
 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-core:16.0.7'
 implementation 'com.google.firebase:firebase-database:16.0.6'
 implementation 'info.hoang8f:fbutton:1.0.5'
 implementation 'com.rengwuxian.materialedittext:library:2.1.4'
 implementation 'com.android.support:recyclerview-v7:28.0.0'
 implementation 'com.android.support:cardview-v7:28.0.0'
 implementation 'com.squareup.picasso:picasso:2.71828'
 implementation 'com.firebaseui:firebase-ui-database:1.2.0'
 implementation 'com.android.support:support-annotations:28.0.0'
}

标签: android-studio

解决方案


我有 com.android.support:exifinterface-v7:27.0.0 我不知道为什么它没有版本 28。

这是因为 exifinterface属于 com.android.support:exifinterface:28.0.0

所以,使用:

implementation "com.android.support:exifinterface:28.0.0"

推荐阅读