exifinterface 27.1.0,animation-vector-drawable:27.1.1,所有com.android.support库必须使用完全相同的版本 [英] exifinterface 27.1.0 , animated-vector-drawable:27.1.1 , All com.android.support libraries must use the exact same version

查看:83
本文介绍了exifinterface 27.1.0,animation-vector-drawable:27.1.1,所有com.android.support库必须使用完全相同的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么gradle总是说

why gradle always say

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

"All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.1, 27.1.0. Examples include com.android.support:animated-vector-drawable:27.1.1 and com.android.support:exifinterface:27.1.0"

哪里是27.1.0?

build.gradle:

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'

}

推荐答案

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

I have the same problem. it's because of some of libraries that I've used. I think it is picasso.

所以现在您可以添加exifinterface库

So now you can add exifinterface library

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

更新

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

If you use androidx, use this

implementation "androidx.exifinterface:exifinterface:1.0.0"

这对我有用

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

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

the ability to read and write Exif tags embedded within image files: now with 140 different attributes (almost 100 of them new to Android 7.1/this Support Library!) including information about the camera itself, the camera settings, orientation, and GPS coordinates.

一些EXIF信息显示在下面的图片中

Some of EXIF info show in below picture

这篇关于exifinterface 27.1.0,animation-vector-drawable:27.1.1,所有com.android.support库必须使用完全相同的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆