Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to resolve: exifinterface

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'
like image 999
mesh Avatar asked Jul 05 '18 10:07

mesh


2 Answers

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"
like image 199
Radesh Avatar answered Sep 28 '22 09:09

Radesh


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

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

like image 21
nanjinglmm Avatar answered Sep 28 '22 09:09

nanjinglmm