Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

exifinterface 27.1.0 , animated-vector-drawable:27.1.1 , All com.android.support libraries must use the exact same version

Tags:

android

gradle

why gradle always say

"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"

where is 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'

}

like image 515
user4254398 Avatar asked Sep 02 '18 09:09

user4254398


1 Answers

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

So now you can add exifinterface library

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

UPDATE

If you use androidx, use this

implementation "androidx.exifinterface:exifinterface:1.0.0"

That's work for me

According to this link , it's for handle EXIF info of pictures

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.

Some of EXIF info show in below picture

EXIF

like image 125
Radesh Avatar answered Oct 22 '22 14:10

Radesh