exifinterface 27.1.0,animated-vector-drawable:27.1.1,所有com.android.support库必须使用完全相同的版本

use*_*398 7 android gradle

为什么gradle总是说

"所有com.android.support库必须使用完全相同的版本规范(混合版本可能导致运行时崩溃).找到版本27.1.1,27.1.0.示例包括 com.android.support:animated-vector-drawable:27.1.1com.android.support:exifinterface:27.1.0"

哪里是27.1.0 ??

build.gradle:

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'

implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'

implementation 'com.google.code.gson:gson:2.6.2'

implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.squareup.picasso:picasso:2.71828'


implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-messaging:17.3.0'

implementation 'com.karumi:dexter:5.0.0'
Run Code Online (Sandbox Code Playgroud)

}

Rad*_*esh 7

我也有同样的问题。这是因为我使用了一些库。我认为是picasso

所以现在您可以添加exifinterface库

implementation "com.android.support:exifinterface:27.1.1"
Run Code Online (Sandbox Code Playgroud)

更新

如果您使用的是androidx,请使用此

implementation "androidx.exifinterface:exifinterface:1.0.0"
Run Code Online (Sandbox Code Playgroud)

那对我有用

根据此链接,用于处理图片的EXIF信息

具有读取和写入嵌入图像文件中的Exif标签的功能:现在具有140个不同的属性(其中几乎100个是Android 7.1 /此支持库中的新属性!),包括有关相机本身,相机设置,方向和GPS坐标的信息。

下图显示了一些EXIF信息

EXIF