9

When I upgrade picasso from 2.5.2 to 2.71828 and do a gradle sync I see a a exifinterface error:

Error:

Failed to resolve: exifinterface

Replaced

implementation 'com.squareup.picasso:picasso:2.5.2'

with

implementation 'com.squareup.picasso:picasso:2.71828'
mesh
  • 849
  • 9
  • 16

5 Answers5

8

Picasso have dependencies to exifinterface so you must add this to your dependencies

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

If you use androidX, add this your dependencies

implementation "androidx.exifinterface:exifinterface:1.0.0"
Radesh
  • 13,084
  • 4
  • 51
  • 64
3

Official Solution: https://github.com/square/picasso/issues/1913

adding implementation 'com.android.support:exifinterface:27.1.1'

lmm333
  • 163
  • 2
  • 5
1

i use androidX and below dependency solved my problem :

    implementation 'androidx.exifinterface:exifinterface:1.1.0-alpha01'
amin mahmoudi
  • 630
  • 7
  • 26
0

If you are using the support libraries you should be using a resolution strategy to force them all to the same version.

configurations.all {
  resolutionStrategy {
    eachDependency { details ->
        if (details.requested.group == 'com.android.support') {
        details.useVersion versions.supportLibrary
      }
    }
  }
}

Add the ExifInterface Support Library to your project with the following dependency:

implementation "com.android.support:exifinterface:27.1.0"
IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
0

solved my problem by adding for androidx:

  implementation "androidx.exifinterface:exifinterface:1.0.0
IlGala
  • 3,331
  • 4
  • 35
  • 49
ranojan
  • 819
  • 8
  • 11