当我将毕加索从2.5.2升级到2.71828并进行gradle同步时,我看到一个 exifinterface错误:
错误:
Failed to resolve: exifinterface
已替换
implementation 'com.squareup.picasso:picasso:2.5.2'
与
implementation 'com.squareup.picasso:picasso:2.71828'
答案 0 :(得分:3)
官方解决方案: https://github.com/square/picasso/issues/1913
添加implementation 'com.android.support:exifinterface:27.1.1'
答案 1 :(得分:0)
如果您使用的是支持库,则应使用 解决方案策略,将它们全部强制为同一版本。
configurations.all {
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == 'com.android.support') {
details.useVersion versions.supportLibrary
}
}
}
}
将ExifInterface Support Library
添加到您的项目中,并具有以下依赖性:
implementation "com.android.support:exifinterface:27.1.0"
答案 2 :(得分:0)
如果使用androidX,请将此行添加到您的dependencies
implementation "androidx.exifinterface:exifinterface:1.0.0"
答案 3 :(得分:0)
我使用androidX及以下依赖项解决了我的问题:
{"status":100,"track_id":"60861","id":"9d3444ad8de4daf0fc0d7bcf60354045","order_id":"101","amount":"10000","date":"1558844830","payment":{"track_id":"6049410","amount":"10000","card_no":"123456******1234","hashed_card_no":"E59FA6241C94B8836E3D03120DF33E80FD988888BBA0A122240C2E7D23B48295","date":"1558844830"},"verify":{"date":1558844839}}
答案 4 :(得分:0)
通过添加androidx解决了我的问题:
implementation "androidx.exifinterface:exifinterface:1.0.0